Skip to content
Snippets Groups Projects
Select Git revision
  • bc3a902fbc68886cd9a9cb40e73673eae1b49d68
  • 11.x default protected
  • 10.5.x protected
  • 11.2.x protected
  • 10.6.x protected
  • 11.1.x protected
  • 10.4.x protected
  • 11.0.x protected
  • 10.3.x protected
  • 7.x protected
  • 10.2.x protected
  • 10.1.x protected
  • 9.5.x protected
  • 10.0.x protected
  • 9.4.x protected
  • 9.3.x protected
  • 9.2.x protected
  • 9.1.x protected
  • 8.9.x protected
  • 9.0.x protected
  • 8.8.x protected
  • 10.5.1 protected
  • 11.2.2 protected
  • 11.2.1 protected
  • 11.2.0 protected
  • 10.5.0 protected
  • 11.2.0-rc2 protected
  • 10.5.0-rc1 protected
  • 11.2.0-rc1 protected
  • 10.4.8 protected
  • 11.1.8 protected
  • 10.5.0-beta1 protected
  • 11.2.0-beta1 protected
  • 11.2.0-alpha1 protected
  • 10.4.7 protected
  • 11.1.7 protected
  • 10.4.6 protected
  • 11.1.6 protected
  • 10.3.14 protected
  • 10.4.5 protected
  • 11.0.13 protected
41 results

BundleTestEntity.php

Blame
  • Alex Pott's avatar
    Issue #1807042 by tim.plunkett, effulgentsia: Rename entity...
    Alex Pott authored
    Issue #1807042 by tim.plunkett, effulgentsia: Rename entity storage/list/form/render controllers to handlers, part 1: organize existing annotation keys.
    bc3a902f
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    BundleTestEntity.php 804 B
    <?php
    
    /**
     * @file
     * Contains Drupal\field_test\Plugin\Core\Entity\BundleTestEntity.
     */
    
    namespace Drupal\field_test\Plugin\Core\Entity;
    
    use Drupal\Core\Entity\Annotation\EntityType;
    use Drupal\Core\Annotation\Translation;
    
    /**
     * Test entity class.
     *
     * @EntityType(
     *   id = "test_entity_bundle",
     *   label = @Translation("Test Entity with a specified bundle"),
     *   module = "field_test",
     *   controllers = {
     *     "storage" = "Drupal\field_test\TestEntityController",
     *     "form" = {
     *       "default" = "Drupal\field_test\TestEntityFormController"
     *     }
     *   },
     *   field_cache = FALSE,
     *   base_table = "test_entity_bundle",
     *   fieldable = TRUE,
     *   entity_keys = {
     *     "id" = "ftid",
     *     "bundle" = "fttype"
     *   }
     * )
     */
    class BundleTestEntity extends TestEntity {
    
    }