| EntityFormTest::testAddPageWithMultipleParameters |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests the route add-page with multiple parameters. |
| EntityFormTest::testCopyFormValuesToEntity |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests copy form values to entity. |
| EntityFormTest::testEntityFormDisplayAlter |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests hook_entity_form_display_alter(). |
| EntityFormTest::testEntityFormModeAlter |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests hook_entity_form_mode_alter() and hook_ENTITY_TYPE_form_mode_alter(). |
| EntityFormTest::testFormCRUD |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests basic form CRUD functionality. |
| EntityFormTest::testFormId |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests the form ID generation. |
| EntityFormTest::testGetEntityFromRouteMatchAdd |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests EntityForm::getEntityFromRouteMatch() for add forms without a bundle. |
| EntityFormTest::testGetEntityFromRouteMatchAddEntity |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests EntityForm::getEntityFromRouteMatch() with a config entity bundle. |
| EntityFormTest::testGetEntityFromRouteMatchAddStatic |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests EntityForm::getEntityFromRouteMatch() with a static bundle. |
| EntityFormTest::testGetEntityFromRouteMatchEditDelete |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests EntityForm::getEntityFromRouteMatch() for edit and delete forms. |
| EntityFormTest::testMultilingualFormCRUD |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests basic multilingual form CRUD functionality. |
| EntityFormTest::testValidationHandlers |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Checks that validation handlers works as expected. |
| EntityHandlerBase |
class |
core/lib/Drupal/Core/Entity/EntityHandlerBase.php |
Provides a base class for entity handlers. |
| EntityHandlerBase.php |
file |
core/lib/Drupal/Core/Entity/EntityHandlerBase.php |
|
| EntityHandlerBase::$moduleHandler |
property |
core/lib/Drupal/Core/Entity/EntityHandlerBase.php |
The module handler to invoke hooks on. |
| EntityHandlerBase::moduleHandler |
function |
core/lib/Drupal/Core/Entity/EntityHandlerBase.php |
Gets the module handler. |
| EntityHandlerBase::setModuleHandler |
function |
core/lib/Drupal/Core/Entity/EntityHandlerBase.php |
Sets the module handler for this handler. |
| EntityHandlerInterface |
interface |
core/lib/Drupal/Core/Entity/EntityHandlerInterface.php |
Defines an interface for entity handlers. |
| EntityHandlerInterface.php |
file |
core/lib/Drupal/Core/Entity/EntityHandlerInterface.php |
|
| EntityHandlerInterface::createInstance |
function |
core/lib/Drupal/Core/Entity/EntityHandlerInterface.php |
Instantiates a new instance of this entity handler. |
| EntityHasFieldConstraint |
class |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php |
Checks if a value is an entity that has a specific field. |
| EntityHasFieldConstraint.php |
file |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php |
|
| EntityHasFieldConstraint::$field_name |
property |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php |
The field name option. |
| EntityHasFieldConstraint::getDefaultOption |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php |
|
| EntityHasFieldConstraint::getRequiredOptions |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php |
|
| EntityHasFieldConstraint::__construct |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php |
#[HasNamedArguments] |
| EntityHasFieldConstraintValidator |
class |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php |
Validates the EntityHasField constraint. |
| EntityHasFieldConstraintValidator.php |
file |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php |
|
| EntityHasFieldConstraintValidator::validate |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php |
|
| EntityHasFieldConstraintValidatorTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
Tests Entity Has Field Constraint Validator. |
| EntityHasFieldConstraintValidatorTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
|
| EntityHasFieldConstraintValidatorTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
Modules to install. |
| EntityHasFieldConstraintValidatorTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
|
| EntityHasFieldConstraintValidatorTest::testValidation |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
Tests validation of an entity with a field. |
| EntityImageStyle |
class |
core/modules/image/src/Plugin/migrate/destination/EntityImageStyle.php |
Entity image style destination. |
| EntityImageStyle.php |
file |
core/modules/image/src/Plugin/migrate/destination/EntityImageStyle.php |
|
| EntityImageStyle::import |
function |
core/modules/image/src/Plugin/migrate/destination/EntityImageStyle.php |
Import the row. |
| EntityInterface |
interface |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Defines a common interface for all entity objects. |
| EntityInterface.php |
file |
core/lib/Drupal/Core/Entity/EntityInterface.php |
|
| EntityInterface::bundle |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the bundle of the entity. |
| EntityInterface::create |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Constructs a new entity object, without permanently saving it. |
| EntityInterface::createDuplicate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Creates a duplicate of the entity. |
| EntityInterface::delete |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Deletes an entity permanently. |
| EntityInterface::enforceIsNew |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Enforces an entity to be new. |
| EntityInterface::getCacheTagsToInvalidate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Returns the cache tags that should be used to invalidate caches. |
| EntityInterface::getConfigDependencyKey |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the key that is used to store configuration dependencies. |
| EntityInterface::getConfigDependencyName |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the configuration dependency name. |
| EntityInterface::getConfigTarget |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the configuration target identifier for the entity. |
| EntityInterface::getEntityType |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the entity type definition. |
| EntityInterface::getEntityTypeId |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the ID of the type of the entity. |