ContentLanguageSettings

Defines the ContentLanguageSettings entity. Plugin annotation @ConfigEntityType( id = "language_content_settings", label = @Translation("Content Language Settings"), admin_permission = "administer languages", config_prefix = "content_settings", entity_keys = { "id" = "id" }, list_cache_tags = { "rendered" } ) Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Config\Entit

ContentEntityTypeInterface

Provides an interface for a content entity type and its metadata. Hierarchy interface \Drupal\Component\Plugin\Definition\PluginDefinitionInterfaceinterface \Drupal\Core\Entity\EntityTypeInterfaceinterface \Drupal\Core\Entity\ContentEntityTypeInterface File core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php, line 8 Namespace Drupal\Core\Entity Members Name Modifiers Type Description EntityTypeInterface::addConstraint public function Adds a validation constraint

ContentEntityType::__construct

public ContentEntityType::__construct($definition) Constructs a new EntityType. Parameters array $definition: An array of values from the annotation. Throws \Drupal\Core\Entity\Exception\EntityTypeIdLengthException Thrown when attempting to instantiate an entity type with too long ID. Overrides EntityType::__construct File core/lib/Drupal/Core/Entity/ContentEntityType.php, line 13 Class ContentEntityType Provides an implementation of a content entity type and its metadata. Namespace D

ContentEntityType::getConfigDependencyKey

public ContentEntityType::getConfigDependencyKey() Gets the key that is used to store configuration dependencies. Return value string The key to be used in configuration dependencies when storing dependencies on entities of this type. Overrides EntityType::getConfigDependencyKey File core/lib/Drupal/Core/Entity/ContentEntityType.php, line 24 Class ContentEntityType Provides an implementation of a content entity type and its metadata. Namespace Drupal\Core\Entity Code public function g

ContentEntityType::get

public ContentEntityType::get() Gets the value of an annotation. Overrides EntityType::get File core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php, line 34 Class ContentEntityType Defines a content entity type annotation object. Namespace Drupal\Core\Entity\Annotation Code public function get() { $this->definition['group_label'] = new TranslatableMarkup('Content', array(), array('context' => 'Entity type group')); return parent::get(); }

ContentEntityType::checkStorageClass

protected ContentEntityType::checkStorageClass($class) Throws \InvalidArgumentException If the provided class does not implement \Drupal\Core\Entity\ContentEntityStorageInterface. Overrides EntityType::checkStorageClass See also \Drupal\Core\Entity\ContentEntityStorageInterface File core/lib/Drupal/Core/Entity/ContentEntityType.php, line 37 Class ContentEntityType Provides an implementation of a content entity type and its metadata. Namespace Drupal\Core\Entity Code protected functio

ContentEntityType::$group

The group machine name. Overrides EntityType::$group File core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php, line 29 Class ContentEntityType Defines a content entity type annotation object. Namespace Drupal\Core\Entity\Annotation Code public $group = 'content';

ContentEntityType::$entity_type_class

The class used to represent the entity type. It must implement \Drupal\Core\Entity\EntityTypeInterface. Type: string Overrides EntityType::$entity_type_class File core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php, line 24 Class ContentEntityType Defines a content entity type annotation object. Namespace Drupal\Core\Entity\Annotation Code public $entity_type_class = 'Drupal\Core\Entity\ContentEntityType';

ContentEntityType

Provides an implementation of a content entity type and its metadata. Hierarchy class \Drupal\Core\Entity\EntityType implements EntityTypeInterface uses StringTranslationTraitclass \Drupal\Core\Entity\ContentEntityType implements ContentEntityTypeInterface File core/lib/Drupal/Core/Entity/ContentEntityType.php, line 8 Namespace Drupal\Core\Entity Members Name Modifiers Type Description ContentEntityType::checkStorageClass protected function Overrides EntityType::checkSt

ContentEntityType

Defines a content entity type annotation object. Content Entity type plugins use an object-based annotation method, rather than an array-type annotation method (as commonly used on other annotation types). The annotation properties of content entity types are found on \Drupal\Core\Entity\ContentEntityType and are accessed using get/set methods defined in \Drupal\Core\Entity\ContentEntityTypeInterface. Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupa