Search for definition
- Search 7.x for definition
- Search 9.5.x for definition
- Search 8.9.x for definition
- Search 11.x for definition
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
EntityContextDefinition.php | file | core/ |
|
EntityContextDefinition::fromEntity | function | core/ |
Creates a context definition from a given entity object. |
EntityContextDefinition::fromEntityType | function | core/ |
Creates a context definition from a given entity type. |
EntityContextDefinition::fromEntityTypeId | function | core/ |
Creates a context definition from a given entity type ID. |
EntityContextDefinition::getConstraintObjects | function | core/ |
Extracts an array of constraints for a context definition object. |
EntityContextDefinition::getEntityTypeId | function | core/ |
Returns the entity type ID of this context. |
EntityContextDefinition::getSampleValues | function | core/ |
Returns typed data objects representing this context definition. |
EntityContextDefinition::__construct | function | core/ |
Constructs a new context definition object. |
EntityContextDefinitionIsSatisfiedTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\EntityContextDefinition @group Plugin |
EntityContextDefinitionIsSatisfiedTest.php | file | core/ |
|
EntityContextDefinitionIsSatisfiedTest::$entityTypeBundleInfo | property | core/ |
The entity type bundle info. |
EntityContextDefinitionIsSatisfiedTest::$entityTypeManager | property | core/ |
The entity type manager. |
EntityContextDefinitionIsSatisfiedTest::assertRequirementIsSatisfied | function | core/ |
Asserts that the requirement is satisfied as expected. |
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedBy | function | core/ |
Provides test data for ::testIsSatisfiedBy(). |
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByGenerateBundledEntity | function | core/ |
Provides test data for ::testIsSatisfiedByGenerateBundledEntity(). |
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByPassBundledEntity | function | core/ |
Provides test data for ::testIsSatisfiedByPassBundledEntity(). |
EntityContextDefinitionIsSatisfiedTest::setUp | function | core/ |
|
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedBy | function | core/ |
@covers ::isSatisfiedBy @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects |
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity | function | core/ |
@covers ::isSatisfiedBy @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects |
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByPassBundledEntity | function | core/ |
@covers ::isSatisfiedBy @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects |
EntityConverterLatestRevisionTest::testRouteParamWithBundleDefinition | function | core/ |
Tests an entity route parameter having 'bundle' definition property. |
EntityConverterTest::testRouteParamWithBundleDefinition | function | core/ |
Tests an entity route parameter having 'bundle' definition property. |
EntityCreateDeriver::getDerivativeDefinitions | function | core/ |
Gets the definition of all derivatives of a base plugin. |
EntityDataDefinition | class | core/ |
A typed data definition class for describing entities. |
EntityDataDefinition.php | file | core/ |
|
EntityDataDefinition::create | function | core/ |
Creates a new entity definition. |
EntityDataDefinition::createFromDataType | function | core/ |
Creates a new data definition object. |
EntityDataDefinition::getBundles | function | core/ |
Gets the array of possible entity bundles. |
EntityDataDefinition::getDataType | function | core/ |
Returns the data type of the data. |
EntityDataDefinition::getEntityTypeId | function | core/ |
Gets the entity type ID. |
EntityDataDefinition::getPropertyDefinitions | function | core/ |
Gets an array of property definitions of contained properties. |
EntityDataDefinition::setBundles | function | core/ |
Sets the array of possible entity bundles. |
EntityDataDefinition::setEntityTypeId | function | core/ |
Sets the entity type ID. |
EntityDataDefinitionInterface | interface | core/ |
Interface for typed data entity definitions. |
EntityDataDefinitionInterface.php | file | core/ |
|
EntityDataDefinitionInterface::getBundles | function | core/ |
Gets the array of possible entity bundles. |
EntityDataDefinitionInterface::getEntityTypeId | function | core/ |
Gets the entity type ID. |
EntityDataDefinitionInterface::setBundles | function | core/ |
Sets the array of possible entity bundles. |
EntityDataDefinitionInterface::setEntityTypeId | function | core/ |
Sets the entity type ID. |
EntityDefinitionTestTrait | trait | core/ |
Provides some test methods used to update existing entity definitions. |
EntityDefinitionTestTrait.php | file | core/ |
|
EntityDefinitionTestTrait::addBaseField | function | core/ |
Adds a new base field to the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::addBaseFieldIndex | function | core/ |
Adds a single-field index to the base field. |
EntityDefinitionTestTrait::addBundleField | function | core/ |
Adds a new bundle field to the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::addEntityIndex | function | core/ |
Adds an index to the 'entity_test_update' entity type's base table. |
EntityDefinitionTestTrait::addLongNameBaseField | function | core/ |
Adds a long-named base field to the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::addRevisionableBaseField | function | core/ |
Adds a new revisionable base field to the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::applyEntityUpdates | function | core/ |
Applies all the detected valid changes. |
EntityDefinitionTestTrait::deleteEntityType | function | core/ |
Removes the entity type. |
EntityDefinitionTestTrait::doEntityUpdate | function | core/ |
Performs an entity type definition update. |
Pagination
- Previous page
- Page 14
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.