class Apple

Same name in this branch
  1. main core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple
Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple
  2. 11.x core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php \Drupal\Tests\Core\Entity\Apple
  3. 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple
  4. 10 core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php \Drupal\Tests\Core\Entity\Apple
  5. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple
  6. 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple

A Fruit class for testing.

Hierarchy

Expanded class hierarchy of Apple

55 string references to 'Apple'
AnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
AnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
AttributeTest::testChainAddRemoveClasses in core/tests/Drupal/Tests/Core/Template/AttributeTest.php
Tests removing class attributes with the Attribute helper methods.
BlockManagerTest::setUp in core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php
CategorizingPluginManager::getDefinitions in core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php
Provides some test definitions to the trait.

... See full list

File

core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php, line 248

Namespace

Drupal\Tests\Core\Entity
View source
class Apple extends Fruit {

}

Members

Title Sort descending Modifiers Object type Summary Member alias Overriden Title Overrides
CacheableDependencyTrait::$cacheContexts protected property Cache contexts.
CacheableDependencyTrait::$cacheMaxAge protected property Cache max-age.
CacheableDependencyTrait::$cacheTags protected property Cache tags.
CacheableDependencyTrait::setCacheability protected function Sets cacheability; useful for value object constructors.
DependencySerializationTrait::$_entityStorages protected property An array of entity type IDs keyed by the property name of their storages.
DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
DependencySerializationTrait::__sleep public function Aliased as: traitSleep 2
DependencySerializationTrait::__wakeup public function 2
EntityBase::$enforceIsNew protected property Boolean indicating whether the entity should be forced to be new.
EntityBase::$entityTypeId protected property The entity type.
EntityBase::$originalEntity protected property The original unchanged entity.
EntityBase::$typedData protected property A weak reference to the typed data object wrapping this entity.
EntityBase::access public function Overrides AccessibleInterface::access 1
EntityBase::bundle public function Overrides EntityInterface::bundle 1
EntityBase::create public static function Overrides EntityInterface::create 2
EntityBase::createDuplicate public function Overrides EntityInterface::createDuplicate 2
EntityBase::delete public function Overrides EntityInterface::delete 1
EntityBase::enforceIsNew public function Overrides EntityInterface::enforceIsNew
EntityBase::entityTypeBundleInfo protected function Gets the entity type bundle info service.
EntityBase::entityTypeManager protected function Gets the entity type manager.
EntityBase::getCacheContexts public function Overrides CacheableDependencyTrait::getCacheContexts
EntityBase::getCacheMaxAge public function Overrides CacheableDependencyTrait::getCacheMaxAge
EntityBase::getCacheTags public function Overrides CacheableDependencyTrait::getCacheTags
EntityBase::getCacheTagsToInvalidate public function Overrides EntityInterface::getCacheTagsToInvalidate 3
EntityBase::getConfigDependencyKey public function Overrides EntityInterface::getConfigDependencyKey
EntityBase::getConfigDependencyName public function Overrides EntityInterface::getConfigDependencyName 1
EntityBase::getConfigTarget public function Overrides EntityInterface::getConfigTarget 1
EntityBase::getEntityType public function Overrides EntityInterface::getEntityType 1
EntityBase::getEntityTypeId public function Overrides EntityInterface::getEntityTypeId
EntityBase::getListCacheTagsToInvalidate protected function The list cache tags to invalidate for this entity.
EntityBase::getOriginal public function Overrides EntityInterface::getOriginal
EntityBase::getOriginalId public function Overrides EntityInterface::getOriginalId 1
EntityBase::getTypedData public function #[\NoDiscard] Overrides EntityInterface::getTypedData
EntityBase::getTypedDataClass private function Returns the typed data class name for this entity.
EntityBase::hasLinkTemplate public function Overrides EntityInterface::hasLinkTemplate
EntityBase::id public function Overrides EntityInterface::id 10
EntityBase::invalidateTagsOnDelete protected static function Invalidates an entity's cache tags upon delete. 1
EntityBase::invalidateTagsOnSave protected function Invalidates an entity's cache tags upon save. 2
EntityBase::isNew public function Overrides EntityInterface::isNew 2
EntityBase::label public function Overrides EntityInterface::label 6
EntityBase::language public function Overrides EntityInterface::language 1
EntityBase::languageManager protected function Gets the language manager.
EntityBase::linkTemplates protected function Gets an array link templates. 1
EntityBase::load public static function Overrides EntityInterface::load
EntityBase::loadMultiple public static function Overrides EntityInterface::loadMultiple
EntityBase::postCreate public function Overrides EntityInterface::postCreate 5
EntityBase::postDelete public static function Overrides EntityInterface::postDelete 17
EntityBase::postLoad public static function Overrides EntityInterface::postLoad 3
EntityBase::postSave public function Overrides EntityInterface::postSave 12
EntityBase::preCreate public static function Overrides EntityInterface::preCreate 6
EntityBase::preDelete public static function Overrides EntityInterface::preDelete 6
EntityBase::preSave public function Overrides EntityInterface::preSave 2
EntityBase::referencedEntities public function Overrides EntityInterface::referencedEntities 1
EntityBase::save public function Overrides EntityInterface::save 3
EntityBase::setOriginal public function Overrides EntityInterface::setOriginal
EntityBase::setOriginalId public function Overrides EntityInterface::setOriginalId 1
EntityBase::toArray public function Overrides EntityInterface::toArray 2
EntityBase::toLink public function Overrides EntityInterface::toLink
EntityBase::toUrl public function Overrides EntityInterface::toUrl 2
EntityBase::uriRelationships public function Overrides EntityInterface::uriRelationships
EntityBase::urlRouteParameters protected function Gets an array of placeholders for this entity. 2
EntityBase::uuid public function Overrides EntityInterface::uuid 1
EntityBase::uuidGenerator protected function Gets the UUID generator.
EntityBase::__construct public function Constructs an Entity object. 2
EntityBase::__sleep public function 2
RefinableCacheableDependencyTrait::addCacheableDependency public function 1
RefinableCacheableDependencyTrait::addCacheContexts public function
RefinableCacheableDependencyTrait::addCacheTags public function
RefinableCacheableDependencyTrait::mergeCacheMaxAge public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.