Sorry, you need to enable JavaScript to visit this website.

Entity type definition

Drupal\Core\Entity\ContentEntityType#495 (41)
  • Properties (41)
  • protected id -> string (16) "commerce_product"
    protected class -> string (38) "Drupal\commerce_product\Entity\Product"
    protected provider -> string (16) "commerce_product"
    protected static_cache -> boolean true
    protected render_cache -> boolean true
    protected persistent_cache -> boolean true
    protected entity_keys -> array (11)
    id => string (10) "product_id"
    bundle => string (4) "type"
    label => string (5) "title"
    langcode => string (8) "langcode"
    uuid => string (4) "uuid"
    published => string (6) "status"
    owner => string (3) "uid"
    uid => string (3) "uid"
    revision => string (0) ""
    default_langcode => string (16) "default_langcode"
    revision_translation_affected => string (29) "revision_translation_affected"
    protected originalClass -> string (38) "Drupal\commerce_product\Entity\Product"
    protected handlers -> array (13)
    event => string (42) "Drupal\commerce_product\Event\ProductEvent"
    storage => string (44) "Drupal\commerce\CommerceContentEntityStorage"
    access => string (40) "Drupal\entity\EntityAccessControlHandler"
    query_access => string (44) "Drupal\entity\QueryAccess\QueryAccessHandler"
    permission_provider => string (38) "Drupal\entity\EntityPermissionProvider"
    view_builder => string (42) "Drupal\commerce_product\ProductViewBuilder"
    list_builder => string (42) "Drupal\commerce_product\ProductListBuilder"
    views_data => string (39) "Drupal\commerce\CommerceEntityViewsData"
    form => array (5)
    default => string (40) "Drupal\commerce_product\Form\ProductForm"
    add => string (40) "Drupal\commerce_product\Form\ProductForm"
    edit => string (40) "Drupal\commerce_product\Form\ProductForm"
    delete => string (42) "Drupal\Core\Entity\ContentEntityDeleteForm"
    content_translation_deletion => string (61) "\Drupal\content_translation\Form\ContentTranslationDeleteForm"
    local_task_provider => array (1)
    default => string (49) "Drupal\entity\Menu\DefaultEntityLocalTaskProvider"
    route_provider => array (2)
    default => string (44) "Drupal\entity\Routing\AdminHtmlRouteProvider"
    delete-multiple => string (49) "Drupal\entity\Routing\DeleteMultipleRouteProvider"
    translation => string (49) "Drupal\commerce_product\ProductTranslationHandler"
    inline_form => string (48) "\Drupal\inline_entity_form\Form\EntityInlineForm"
    protected admin_permission -> string (27) "administer commerce_product"
    protected collection_permission -> null
    protected permission_granularity -> string (6) "bundle"
    protected links -> array (17)
    canonical => string (27) "/product/{commerce_product}"
    add-page => string (12) "/product/add"
    add-form => string (36) "/product/add/{commerce_product_type}"
    edit-form => string (32) "/product/{commerce_product}/edit"
    delete-form => string (34) "/product/{commerce_product}/delete"
    delete-multiple-form => string (31) "/admin/commerce/products/delete"
    collection => string (24) "/admin/commerce/products"
    • Base64
    • base64_decode(collection) binary string (18)
    devel-load => string (42) "/devel/commerce_product/{commerce_product}"
    devel-load-with-references => string (63) "/devel/load-with-references/commerce_product/{commerce_product}"
    devel-path-alias => string (53) "/devel/path-alias/commerce_product/{commerce_product}"
    devel-render => string (49) "/devel/render/commerce_product/{commerce_product}"
    devel-definition => string (53) "/devel/definition/commerce_product/{commerce_product}"
    token-devel => string (48) "/devel/token/commerce_product/{commerce_product}"
    drupal:content-translation-overview => string (40) "/product/{commerce_product}/translations"
    drupal:content-translation-add => string (62) "/product/{commerce_product}/translations/add/{source}/{target}"
    drupal:content-translation-edit => string (56) "/product/{commerce_product}/translations/edit/{language}"
    drupal:content-translation-delete => string (58) "/product/{commerce_product}/translations/delete/{language}"
    protected bundle_entity_type -> string (21) "commerce_product_type"
    protected bundle_of -> null
    protected bundle_label -> Drupal\Core\StringTranslation\TranslatableMarkup#496 (5)
    • Properties (5)
    • protected string -> string (12) "Product type"
      protected arguments -> array (0)
      protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
    protected base_table -> string (16) "commerce_product"
    protected revision_data_table -> null
    protected revision_table -> null
    protected data_table -> string (27) "commerce_product_field_data"
    protected internal -> boolean false
    protected translatable -> boolean true
    protected show_revision_ui -> boolean false
    protected label -> Drupal\Core\StringTranslation\TranslatableMarkup#497 (5)
    • Properties (5)
    • protected string -> string (7) "Product"
      protected arguments -> array (0)
      protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
    protected label_collection -> Drupal\Core\StringTranslation\TranslatableMarkup#498 (5)
    • Properties (5)
    • protected string -> string (8) "Products"
      protected arguments -> array (0)
      protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
    protected label_singular -> Drupal\Core\StringTranslation\TranslatableMarkup#499 (5)
    • Properties (5)
    • protected string -> string (7) "product"
      protected arguments -> array (0)
      protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
    protected label_plural -> Drupal\Core\StringTranslation\TranslatableMarkup#500 (5)
    • Properties (5)
    • protected string -> string (8) "products"
      protected arguments -> array (0)
      protected translatedMarkup -> null
      protected options -> array (0)
      protected stringTranslation -> null
    protected label_count -> array (3)
    singular => string (14) "@count product"
    plural => string (15) "@count products"
    context => null
    protected uri_callback -> null
    protected group -> string (7) "content"
    protected group_label -> Drupal\Core\StringTranslation\TranslatableMarkup#501 (5)
    • Properties (5)
    • protected string -> string (7) "Content"
      protected arguments -> array (0)
      protected translatedMarkup -> null
      protected options -> array (1)
      context => string (17) "Entity type group"
      protected stringTranslation -> null
    protected field_ui_base_route -> string (38) "entity.commerce_product_type.edit_form"
    protected common_reference_target -> boolean false
    protected list_cache_contexts -> array (0)
    protected list_cache_tags -> array (1)
    0 => string (21) "commerce_product_list"
    protected constraints -> array (3)
    EntityChanged => null
    EntityUntranslatableFields => null
    ContentTranslationSynchronizedFields => null
    protected additional -> array (3)
    token_type => string (16) "commerce_product"
    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 _serviceIds -> array (0)
    protected _entityStorages -> array (0)
    protected stringTranslation -> null
    protected revision_metadata_keys -> array (1)
    revision_default => string (16) "revision_default"
Called from <ROOT>/modules/contrib/devel/src/Controller/EntityDebugController.php:66 [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:638 [Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()]
  3. <ROOT>/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:121 [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:181 [Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()]
  6. <ROOT>/vendor/symfony/http-kernel/HttpKernel.php:76 [Symfony\Component\HttpKernel\HttpKernel->handleRaw()]
  7. <ROOT>/core/lib/Drupal/Core/StackMiddleware/Session.php:53 [Symfony\Component\HttpKernel\HttpKernel->handle()]
  8. <ROOT>/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php:48 [Drupal\Core\StackMiddleware\Session->handle()]
  9. <ROOT>/core/lib/Drupal/Core/StackMiddleware/ContentLength.php:28 [Drupal\Core\StackMiddleware\KernelPreHandle->handle()]
  10. <ROOT>/core/modules/page_cache/src/StackMiddleware/PageCache.php:201 [Drupal\Core\StackMiddleware\ContentLength->handle()]
  11. <ROOT>/core/modules/page_cache/src/StackMiddleware/PageCache.php:138 [Drupal\page_cache\StackMiddleware\PageCache->fetch()]
  12. <ROOT>/core/modules/page_cache/src/StackMiddleware/PageCache.php:87 [Drupal\page_cache\StackMiddleware\PageCache->lookup()]
  13. <ROOT>/core/modules/ban/src/BanMiddleware.php:50 [Drupal\page_cache\StackMiddleware\PageCache->handle()]
  14. <ROOT>/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php:48 [Drupal\ban\BanMiddleware->handle()]
  15. <ROOT>/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php:51 [Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()]
  16. <ROOT>/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php:36 [Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()]
  17. <ROOT>/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php:51 [Drupal\Core\StackMiddleware\AjaxPageState->handle()]
  18. <ROOT>/core/lib/Drupal/Core/DrupalKernel.php:741 [Drupal\Core\StackMiddleware\StackedHttpKernel->handle()]
  19. <ROOT>/index.php:19 [Drupal\Core\DrupalKernel->handle()]