class UrlTestEntity
Hierarchy
- class \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Entity\EntityInterface uses \Drupal\Core\Cache\RefinableCacheableDependencyTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait
- class \Drupal\Tests\Core\Entity\UrlTestEntity extends \Drupal\Core\Entity\EntityBase
Expanded class hierarchy of UrlTestEntity
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php, line 556
Namespace
Drupal\Tests\Core\EntityView source
class UrlTestEntity extends EntityBase {
public $id;
public $langcode;
public $uuid;
public $label;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Member alias | Overrides |
---|---|---|---|---|---|
CacheableDependencyTrait::$cacheContexts | protected | property | Cache contexts. | ||
CacheableDependencyTrait::$cacheMaxAge | protected | property | Cache max-age. | ||
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::$_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::$_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 | #[\ReturnTypeWillChange] | 2 | |
EntityBase::$enforceIsNew | protected | property | Boolean indicating whether the entity should be forced to be new. | ||
EntityBase::$entityTypeId | protected | property | The entity type. | ||
EntityBase::$typedData | protected | property | A typed data object wrapping this entity. | ||
EntityBase::access | public | function | |||
EntityBase::bundle | public | function | |||
EntityBase::create | public static | function | 1 | ||
EntityBase::createDuplicate | public | function | 1 | ||
EntityBase::delete | public | function | 1 | ||
EntityBase::enforceIsNew | public | function | |||
EntityBase::entityTypeBundleInfo | protected | function | Gets the entity type bundle info service. | ||
EntityBase::entityTypeManager | protected | function | Gets the entity type manager. | ||
EntityBase::getCacheContexts | public | function | |||
EntityBase::getCacheMaxAge | public | function | |||
EntityBase::getCacheTags | public | function | |||
EntityBase::getCacheTagsToInvalidate | public | function | 3 | ||
EntityBase::getConfigDependencyKey | public | function | |||
EntityBase::getConfigDependencyName | public | function | 1 | ||
EntityBase::getConfigTarget | public | function | 1 | ||
EntityBase::getEntityType | public | function | |||
EntityBase::getEntityTypeId | public | function | |||
EntityBase::getListCacheTagsToInvalidate | protected | function | The list cache tags to invalidate for this entity. | ||
EntityBase::getOriginalId | public | function | 1 | ||
EntityBase::getTypedData | public | function | |||
EntityBase::getTypedDataClass | private | function | Returns the typed data class name for this entity. | ||
EntityBase::hasLinkTemplate | public | function | |||
EntityBase::id | public | function | 9 | ||
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 | 2 | ||
EntityBase::label | public | function | 5 | ||
EntityBase::language | public | function | |||
EntityBase::languageManager | protected | function | Gets the language manager. | ||
EntityBase::linkTemplates | protected | function | Gets an array link templates. | 1 | |
EntityBase::load | public static | function | |||
EntityBase::loadMultiple | public static | function | |||
EntityBase::postCreate | public | function | 4 | ||
EntityBase::postDelete | public static | function | 17 | ||
EntityBase::postLoad | public static | function | 3 | ||
EntityBase::postSave | public | function | 11 | ||
EntityBase::preCreate | public static | function | 6 | ||
EntityBase::preDelete | public static | function | 7 | ||
EntityBase::preSave | public | function | 1 | ||
EntityBase::referencedEntities | public | function | |||
EntityBase::save | public | function | 3 | ||
EntityBase::setOriginalId | public | function | 1 | ||
EntityBase::toArray | public | function | 1 | ||
EntityBase::toLink | public | function | |||
EntityBase::toUrl | public | function | 2 | ||
EntityBase::uriRelationships | public | function | |||
EntityBase::urlRouteParameters | protected | function | Gets an array of placeholders for this entity. | 2 | |
EntityBase::uuid | public | function | |||
EntityBase::uuidGenerator | protected | function | Gets the UUID generator. | ||
EntityBase::__construct | public | function | Constructs an Entity object. | 1 | |
EntityBase::__sleep | public | function | 1 | ||
RefinableCacheableDependencyTrait::addCacheableDependency | public | function | 1 | ||
RefinableCacheableDependencyTrait::addCacheContexts | public | function | |||
RefinableCacheableDependencyTrait::addCacheTags | public | function | |||
RefinableCacheableDependencyTrait::mergeCacheMaxAge | public | function | |||
UrlTestEntity::$id | public | property | |||
UrlTestEntity::$label | public | property | |||
UrlTestEntity::$langcode | public | property | |||
UrlTestEntity::$uuid | public | property |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.