Entity type definition

Drupal\Core\Entity\ContentEntityType (42)
  • Properties (42)
  • protected revision_metadata_keys -> array (4)
    revision_user => string (12) "revision_uid"
    revision_created => string (18) "revision_timestamp"
    revision_log_message => string (12) "revision_log"
    revision_default => string (16) "revision_default"
    protected requiredRevisionMetadataKeys -> array (1)
    revision_default => string (16) "revision_default"
    protected static_cache -> boolean true
    protected render_cache -> boolean true
    protected persistent_cache -> boolean true
    protected entity_keys -> array (12)
    id => string (3) "nid"
    revision => string (3) "vid"
    bundle => string (4) "type"
    label => string (5) "title"
    langcode => string (8) "langcode"
    uuid => string (4) "uuid"
    status => string (6) "status"
    published => string (6) "status"
    uid => string (3) "uid"
    owner => string (3) "uid"
    default_langcode => string (16) "default_langcode"
    revision_translation_affected => string (29) "revision_translation_affected"
    protected id -> string (4) "node"
    protected originalClass -> string (23) "Drupal\node\Entity\Node"
    protected handlers -> array (9)
    storage => string (23) "Drupal\node\NodeStorage"
    storage_schema => string (29) "Drupal\node\NodeStorageSchema"
    view_builder => string (27) "Drupal\node\NodeViewBuilder"
    access => string (36) "Drupal\node\NodeAccessControlHandler"
    views_data => string (25) "Drupal\node\NodeViewsData"
    form => array (6)
    default => string (20) "Drupal\node\NodeForm"
    delete => string (31) "Drupal\node\Form\NodeDeleteForm"
    edit => string (20) "Drupal\node\NodeForm"
    delete-multiple-confirm => string (31) "Drupal\node\Form\DeleteMultiple"
    layout_builder => string (46) "Drupal\layout_builder\Form\OverridesEntityForm"
    content_translation_deletion => string (61) "\Drupal\content_translation\Form\ContentTranslationDeleteForm"
    route_provider => array (1)
    html => string (36) "Drupal\node\Entity\NodeRouteProvider"
    list_builder => string (27) "Drupal\node\NodeListBuilder"
    translation => string (34) "Drupal\node\NodeTranslationHandler"
    protected admin_permission -> null
    protected permission_granularity -> string (6) "bundle"
    protected links -> array (15)
    canonical => string (12) "/node/{node}"
    delete-form => string (19) "/node/{node}/delete"
    delete-multiple-form => string (26) "/admin/content/node/delete"
    edit-form => string (17) "/node/{node}/edit"
    version-history => string (22) "/node/{node}/revisions"
    revision => string (43) "/node/{node}/revisions/{node_revision}/view"
    create => string (5) "/node"
    devel-load => string (18) "/devel/node/{node}"
    devel-render => string (25) "/devel/node/{node}/render"
    devel-definition => string (29) "/devel/node/{node}/definition"
    token-devel => string (24) "/node/{node}/devel/token"
    drupal:content-translation-overview => string (25) "/node/{node}/translations"
    drupal:content-translation-add => string (47) "/node/{node}/translations/add/{source}/{target}"
    drupal:content-translation-edit => string (41) "/node/{node}/translations/edit/{language}"
    drupal:content-translation-delete => string (43) "/node/{node}/translations/delete/{language}"
    protected label_callback -> null
    protected bundle_entity_type -> string (9) "node_type"
    protected bundle_of -> null
    protected bundle_label -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
    • Properties (5)
    • protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
      protected string -> string (12) "Content type"
      protected arguments -> array (0)
    protected base_table -> string (4) "node"
    protected revision_data_table -> string (19) "node_field_revision"
    protected revision_table -> string (13) "node_revision"
    protected data_table -> string (15) "node_field_data"
    protected internal -> boolean false
    protected translatable -> boolean true
    protected show_revision_ui -> boolean true
    protected label -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
    • Properties (5)
    • protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
      protected string -> string (7) "Content"
      protected arguments -> array (0)
    protected label_collection -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
    • Properties (5)
    • protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
      protected string -> string (7) "Content"
      protected arguments -> array (0)
    protected label_singular -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
    • Properties (5)
    • protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
      protected string -> string (12) "content item"
      protected arguments -> array (0)
    protected label_plural -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
    • Properties (5)
    • protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
      protected string -> string (13) "content items"
      protected arguments -> array (0)
    protected label_count -> array (3)
    singular => string (19) "@count content item"
    plural => string (20) "@count content items"
    context => null
    protected uri_callback -> null
    protected group -> string (7) "content"
    protected group_label -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
    • Properties (5)
    • protected translatedMarkup -> null
      protected options -> array (1)
      context => string (17) "Entity type group"
      protected stringTranslation -> null
      protected string -> string (7) "Content"
      protected arguments -> array (0)
    protected field_ui_base_route -> string (26) "entity.node_type.edit_form"
    protected common_reference_target -> boolean true
    protected list_cache_contexts -> array (1)
    0 => string (21) "user.node_grants:view"
    protected list_cache_tags -> array (1)
    0 => string (9) "node_list"
    protected constraints -> array (4)
    EntityChanged => null
    EntityUntranslatableFields => null
    MenuSettings => array (0)
    ContentTranslationSynchronizedFields => null
    protected additional -> array (3)
    token_type => string (4) "node"
    content_translation_metadata => string (60) "Drupal\content_translation\ContentTranslationMetadataWrapper"
    translation => array (1)
    content_translation => array (1)
    access_callback => string (36) "content_translation_translate_access"
    protected class -> string (23) "Drupal\node\Entity\Node"
    protected provider -> string (4) "node"
    protected _serviceIds -> array (0)
    protected _entityStorages -> array (0)
    protected stringTranslation -> null
Called from <ROOT>/modules/contrib/devel/src/Controller/EntityDebugController.php:59 [Drupal\devel\DevelDumperManager->exportAsRenderable()]
  1. <ROOT>/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:123 [call_user_func_array()]
  2. <ROOT>/core/lib/Drupal/Core/Render/Renderer.php:573 [Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()]
  3. <ROOT>/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:124 [Drupal\Core\Render\Renderer->executeInRenderContext()]
  4. <ROOT>/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:97 [Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()]
  5. <ROOT>/vendor/symfony/http-kernel/HttpKernel.php:151 [Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()]
  6. <ROOT>/vendor/symfony/http-kernel/HttpKernel.php:68 [Symfony\Component\HttpKernel\HttpKernel->handleRaw()]
  7. <ROOT>/core/lib/Drupal/Core/StackMiddleware/Session.php:57 [Symfony\Component\HttpKernel\HttpKernel->handle()]
  8. <ROOT>/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php:47 [Drupal\Core\StackMiddleware\Session->handle()]
  9. <ROOT>/core/modules/page_cache/src/StackMiddleware/PageCache.php:191 [Drupal\Core\StackMiddleware\KernelPreHandle->handle()]
  10. <ROOT>/core/modules/page_cache/src/StackMiddleware/PageCache.php:128 [Drupal\page_cache\StackMiddleware\PageCache->fetch()]
  11. <ROOT>/core/modules/page_cache/src/StackMiddleware/PageCache.php:82 [Drupal\page_cache\StackMiddleware\PageCache->lookup()]
  12. <ROOT>/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php:47 [Drupal\page_cache\StackMiddleware\PageCache->handle()]
  13. <ROOT>/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php:52 [Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()]
  14. <ROOT>/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 [Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()]
  15. <ROOT>/core/lib/Drupal/Core/DrupalKernel.php:708 [Stack\StackedHttpKernel->handle()]
  16. <ROOT>/index.php:19 [Drupal\Core\DrupalKernel->handle()]