Skip to content

Instantly share code, notes, and snippets.

@vijaycs85
Created June 26, 2013 19:22
Show Gist options
  • Save vijaycs85/5870660 to your computer and use it in GitHub Desktop.
Save vijaycs85/5870660 to your computer and use it in GitHub Desktop.
<?php
array (
'controllers' =>
array (
'access' => 'Drupal\\comment\\CommentAccessController',
'storage' => 'Drupal\\comment\\CommentStorageController',
'render' => 'Drupal\\comment\\CommentRenderController',
'form' =>
array (
'default' => 'Drupal\\comment\\CommentFormController',
),
'translation' => 'Drupal\\comment\\CommentTranslationController',
),
'fieldable' => true,
'field_cache' => true,
'static_cache' => true,
'translatable' => true,
'translation' =>
array (
),
'entity_keys' =>
array (
'revision' => '',
'bundle' => 'node_type',
'id' => 'cid',
'label' => 'subject',
'uuid' => 'uuid',
),
'links' =>
array (
'canonical' => '/comment/{comment}',
'edit-form' => '/comment/{comment}/edit',
),
'permission_granularity' => 'entity_type',
'id' => 'comment',
'label' => 'Comment',
'bundle_label' => 'Content type',
'module' => 'comment',
'base_table' => 'comment',
'uri_callback' => 'comment_uri',
'route_base_path' => 'admin/structure/types/manage/{bundle}/comment',
'bundle_prefix' => 'comment_node_',
'class' => 'Drupal\\comment\\Plugin\\Core\\Entity\\Comment',
'provider' => 'comment',
)
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment