Search for definition
- Search 7.x for definition
- Search 9.5.x for definition
- Search 10.3.x for definition
- Search 11.x for definition
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
EntityAdapterUnitTest::testGetDataDefinition | function | core/ |
@covers ::getDataDefinition |
EntityContextDefinition | class | core/ |
Defines a class to provide entity context definitions. |
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. |
EntityContextDefinitionDeprecationTest | class | core/ |
Test deprecated use of ContextDefinition as an EntityContextDefinition. |
EntityContextDefinitionDeprecationTest.php | file | core/ |
|
EntityContextDefinitionDeprecationTest::$compatibilityLayer | property | core/ |
The compatibility layer property on the context definition under test. |
EntityContextDefinitionDeprecationTest::$definition | property | core/ |
The context definition under test. |
EntityContextDefinitionDeprecationTest::setUp | function | core/ |
|
EntityContextDefinitionDeprecationTest::testAddConstraint | function | core/ |
Test that addConstraint() proxies to the compatibility layer. |
EntityContextDefinitionDeprecationTest::testGetConstraint | function | core/ |
Test that getConstraint() proxies to the compatibility layer. |
EntityContextDefinitionDeprecationTest::testGetConstraintObjects | function | core/ |
Test that getConstraintObjects() adds the EntityType constraint. |
EntityContextDefinitionDeprecationTest::testGetConstraints | function | core/ |
Test that getConstraints() proxies to the compatibility layer. |
EntityContextDefinitionDeprecationTest::testIsSatisfiedBy | function | core/ |
Test that isSatisfiedBy() calls the compatibility layer. |
EntityContextDefinitionDeprecationTest::testSerialization | function | core/ |
Test that the BC layer survives serialization and unserialization. |
EntityContextDefinitionDeprecationTest::testSetConstraints | function | core/ |
Test that setConstraints() proxies to the compatibility layer. |
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 |
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. |
Pagination
- Previous page
- Page 12
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.