Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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/ |
Tests Drupal\Core\Plugin\Context\EntityContextDefinition. |
| 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/ |
Tests is satisfied by. |
| EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity | function | core/ |
Tests is satisfied by generate bundled entity. |
| EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByPassBundledEntity | function | core/ |
Tests is satisfied by pass bundled entity. |
| 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::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. |
| EntityControllerTest | class | core/ |
Tests EntityController. |
| EntityControllerTest.php | file | core/ |
|
| EntityControllerTest::testDeleteEditTitleCallbacks | function | core/ |
Tests edit and delete title callbacks. |
| 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. |
| EntityConverter::applies | function | core/ |
Determines if the converter applies to a specific route and variable. |
| EntityConverter::convert | function | core/ |
Converts path variables to their corresponding objects. |
| EntityConverter::getRouteRequirement | function | core/ |
Returns a regex requirement for a route parameter. |
| EntityConverter::PRINTABLE_ASCII | constant | core/ |
Regex to match printable ASCII characters. |
| EntityConverter::__construct | function | core/ |
Constructs a new EntityConverter. |
| EntityConverterLatestRevisionTest | class | core/ |
Tests the entity converter when the "load_latest_revision" flag is set. |
| EntityConverterLatestRevisionTest.php | file | core/ |
Pagination
- Previous page
- Page 504
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.