EntityFieldTest::testEntityConstraintValidation |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
Tests validation constraints provided by the Entity API. |
EntityFieldTest::testEntityIdAssignment |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
Tests explicit entity ID assignment. |
EntityFieldTest::testEntityReferenceComputedField |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
Tests an entity reference computed field. |
EntityFieldTest::testFieldEntityRevisionWrite |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
Test setting field values on revisionable entities. |
EntityFieldTest::testFieldOverrideBundleField |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
Tests creating a field override config for a bundle field. |
EntityFieldTest::testIntrospection |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
Tests introspection and getting metadata upfront. |
EntityFieldTest::testIterator |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
Tests iterating over properties. |
EntityFieldTest::testReadWrite |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
Tests reading and writing properties and field items. |
EntityFieldTest::testSave |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
Tries to save and load an entity again. |
EntityFile |
class |
core/modules/file/src/Plugin/migrate/destination/EntityFile.php |
Provides migrate destination plugin for File entities. |
EntityFile.php |
file |
core/modules/file/src/Plugin/migrate/destination/EntityFile.php |
|
EntityFile::getEntity |
function |
core/modules/file/src/Plugin/migrate/destination/EntityFile.php |
Creates or loads an entity. |
EntityFile::processStubRow |
function |
core/modules/file/src/Plugin/migrate/destination/EntityFile.php |
Populates as much of the stub row as possible. |
EntityFilteringThemeTest |
class |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
Tests XSS filtering for themed output for each entity type in all themes. |
EntityFilteringThemeTest.php |
file |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
|
EntityFilteringThemeTest::$comment |
property |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
A test comment. |
EntityFilteringThemeTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
The theme to install as the default for testing. |
EntityFilteringThemeTest::$modules |
property |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
Modules to install. |
EntityFilteringThemeTest::$node |
property |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
A test node. |
EntityFilteringThemeTest::$term |
property |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
A test taxonomy term. |
EntityFilteringThemeTest::$themes |
property |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
A list of all available themes. |
EntityFilteringThemeTest::$user |
property |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
A test user. |
EntityFilteringThemeTest::$xssLabel |
property |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
A string containing markup and JS. |
EntityFilteringThemeTest::setUp |
function |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
|
EntityFilteringThemeTest::testThemedEntity |
function |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
Checks each themed entity for XSS filtering in available themes. |
EntityForm |
class |
core/lib/Drupal/Core/Entity/EntityForm.php |
Base class for entity forms. |
EntityForm.php |
file |
core/lib/Drupal/Core/Entity/EntityForm.php |
|
EntityForm::$entity |
property |
core/lib/Drupal/Core/Entity/EntityForm.php |
The entity being used by this form. |
EntityForm::$entityTypeManager |
property |
core/lib/Drupal/Core/Entity/EntityForm.php |
The entity type manager. |
EntityForm::$moduleHandler |
property |
core/lib/Drupal/Core/Entity/EntityForm.php |
The module handler service. |
EntityForm::$operation |
property |
core/lib/Drupal/Core/Entity/EntityForm.php |
The name of the current operation. |
EntityForm::actions |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Returns an array of supported actions for the current entity form. |
EntityForm::actionsElement |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Returns the action form element for the current entity form. |
EntityForm::afterBuild |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Form element #after_build callback: Updates the entity with submitted data. |
EntityForm::buildEntity |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Builds an updated entity object based upon the submitted form values. |
EntityForm::buildForm |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Form constructor. |
EntityForm::copyFormValuesToEntity |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Copies top-level form values to entity properties. |
EntityForm::form |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Gets the actual form array to be built. |
EntityForm::getBaseFormId |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Returns a string identifying the base form. |
EntityForm::getEntity |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Gets the form entity. |
EntityForm::getEntityFromRouteMatch |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Determines which entity will be used by this form from a RouteMatch object. |
EntityForm::getFormId |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Returns a unique string identifying the form. |
EntityForm::getOperation |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Gets the operation identifying the form. |
EntityForm::init |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Initialize the form state and the entity before the first form build. |
EntityForm::prepareEntity |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Prepares the entity object before the form is built first. |
EntityForm::prepareInvokeAll |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Invokes the specified prepare hook variant. |
EntityForm::processForm |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Process callback: assigns weights and hides extra fields. |
EntityForm::save |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Form submission handler for the 'save' action. |
EntityForm::setEntity |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Sets the form entity. |
EntityForm::setEntityTypeManager |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Sets the entity type manager for this form. |