Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityContext::fromEntityType | function | core/ |
Gets a context from an entity type. |
| EntityContext::fromEntityTypeId | function | core/ |
Gets a context from an entity type ID. |
| 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. |
| EntityContextDefinitionIsSatisfiedTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\EntityContextDefinition[[api-linebreak]] @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[[api-linebreak]] @covers ::dataTypeMatches[[api-linebreak]] @covers ::getSampleValues[[api-linebreak]] @covers ::getConstraintObjects[[api-linebreak]] |
| EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity | function | core/ |
@covers ::isSatisfiedBy[[api-linebreak]] @covers ::dataTypeMatches[[api-linebreak]] @covers ::getSampleValues[[api-linebreak]] @covers ::getConstraintObjects[[api-linebreak]] |
| EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByPassBundledEntity | function | core/ |
@covers ::isSatisfiedBy[[api-linebreak]] @covers ::dataTypeMatches[[api-linebreak]] @covers ::getSampleValues[[api-linebreak]] @covers ::getConstraintObjects[[api-linebreak]] |
| EntityContextTypedDataTest | class | core/ |
Tests the interaction between entity context and typed data. |
| EntityContextTypedDataTest.php | file | core/ |
|
| EntityContextTypedDataTest::$modules | property | core/ |
Modules to install. |
| EntityContextTypedDataTest::testValidateConfigEntityContext | function | core/ |
Tests that entity contexts wrapping a config entity can be validated. |
| EntityController | class | core/ |
Provides the add-page and title callbacks for entities. |
| EntityController.php | file | core/ |
|
| EntityController::$entityRepository | property | core/ |
The entity repository. |
| EntityController::$entityTypeBundleInfo | property | core/ |
The entity type bundle info. |
| EntityController::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityController::$renderer | property | core/ |
The renderer. |
| EntityController::$routeMatch | property | core/ |
The route match. |
| EntityController::$urlGenerator | property | core/ |
The URL generator. |
| EntityController::addBundleTitle | function | core/ |
Provides a generic add title callback for entities with bundles. |
| EntityController::addPage | function | core/ |
Displays add links for the available bundles. |
| EntityController::addTitle | function | core/ |
Provides a generic add title callback for an entity type. |
| EntityController::create | function | core/ |
Instantiates a new instance of this class. |
| EntityController::deleteTitle | function | core/ |
Provides a generic delete title callback. |
| EntityController::doGetEntity | function | core/ |
Determines the entity. |
| EntityController::editTitle | function | core/ |
Provides a generic edit title callback. |
| EntityController::loadBundleDescriptions | function | core/ |
Expands the bundle information with descriptions, if known. |
| EntityController::redirect | function | core/ |
Returns a redirect response object for the specified route. |
| EntityController::title | function | core/ |
Provides a generic title callback for a single entity. |
| EntityController::__construct | function | core/ |
Constructs a new EntityController. |
| EntityConverter | class | core/ |
Parameter converter for upcasting entity IDs to full objects. |
| EntityConverter.php | file | core/ |
|
| EntityConverter::$entityRepository | property | core/ |
Entity repository. |
| EntityConverter::$entityTypeManager | property | core/ |
Entity type manager which performs the upcasting in the end. |
Pagination
- Previous page
- Page 478
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.