FieldDefinition::createFromFieldStorageDefinition |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Creates a new field definition. |
FieldDefinition::getConfig |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Gets an object that can be saved in configuration. |
FieldDefinition::getDefaultValue |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the default value for the field in a newly created entity. |
FieldDefinition::getDefaultValueCallback |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the default value callback for the field. |
FieldDefinition::getDefaultValueLiteral |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the default value literal for the field. |
FieldDefinition::getDisplayOptions |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the default display options for the field. |
FieldDefinition::getFieldStorageDefinition |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the field storage definition. |
FieldDefinition::getName |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the machine name of the field. |
FieldDefinition::getSetting |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the value of a given setting. |
FieldDefinition::getSettings |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the array of settings, as required by the used class. |
FieldDefinition::getTargetBundle |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Gets the bundle the field is attached to. |
FieldDefinition::getTargetEntityTypeId |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the ID of the entity type the field is attached to. |
FieldDefinition::getType |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns the field type. |
FieldDefinition::getUniqueIdentifier |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns a unique identifier for the field. |
FieldDefinition::isDisplayConfigurable |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns whether the display for the field can be configured. |
FieldDefinition::isTranslatable |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Returns whether the field is translatable. |
FieldDefinition::setDefaultValue |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Set a default value for the field. |
FieldDefinition::setDefaultValueCallback |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Set the default value callback for the field. |
FieldDefinition::setDisplayConfigurable |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Sets whether the display for the field can be configured. |
FieldDefinition::setDisplayOptions |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Sets the display options for the field in forms or rendered entities. |
FieldDefinition::setFieldStorageDefinition |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Set the field storage definition. |
FieldDefinition::setSetting |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Sets a definition setting. |
FieldDefinition::setSettings |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Sets the array of settings, as required by the used class. |
FieldDefinition::setTargetBundle |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Set the target bundle. |
FieldDefinition::setTranslatable |
function |
core/lib/Drupal/Core/Field/FieldDefinition.php |
Sets whether the field is translatable. |
FieldDefinitionIntegrityTest |
class |
core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php |
Tests the integrity of field API plugin definitions. |
FieldDefinitionIntegrityTest.php |
file |
core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php |
|
FieldDefinitionIntegrityTest::$modules |
property |
core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php |
|
FieldDefinitionIntegrityTest::checkDisplayOption |
function |
core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php |
Helper method that tries to load plugin definitions. |
FieldDefinitionIntegrityTest::modulesWithSubdirectory |
function |
core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php |
Find modules with a specified subdirectory. |
FieldDefinitionIntegrityTest::testFieldPluginDefinitionAvailability |
function |
core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php |
Tests to load field plugin definitions used in core's existing entities. |
FieldDefinitionIntegrityTest::testFieldPluginDefinitionIntegrity |
function |
core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php |
Tests the integrity of field plugin definitions. |
FieldDefinitionInterface |
interface |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Defines an interface for entity field definitions. |
FieldDefinitionInterface.php |
file |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
|
FieldDefinitionInterface::getConfig |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Gets an object that can be saved in configuration. |
FieldDefinitionInterface::getDefaultValue |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns the default value for the field in a newly created entity. |
FieldDefinitionInterface::getDefaultValueCallback |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns the default value callback for the field. |
FieldDefinitionInterface::getDefaultValueLiteral |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns the default value literal for the field. |
FieldDefinitionInterface::getDisplayOptions |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns the default display options for the field. |
FieldDefinitionInterface::getFieldStorageDefinition |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns the field storage definition. |
FieldDefinitionInterface::getName |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns the machine name of the field. |
FieldDefinitionInterface::getTargetBundle |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Gets the bundle the field is attached to. |
FieldDefinitionInterface::getTargetEntityTypeId |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns the ID of the entity type the field is attached to. |
FieldDefinitionInterface::getType |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns the field type. |
FieldDefinitionInterface::getUniqueIdentifier |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns a unique identifier for the field. |
FieldDefinitionInterface::isDisplayConfigurable |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns whether the display for the field can be configured. |
FieldDefinitionInterface::isRequired |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns whether the field can be empty. |
FieldDefinitionInterface::isTranslatable |
function |
core/lib/Drupal/Core/Field/FieldDefinitionInterface.php |
Returns whether the field is translatable. |
FieldDefinitionListener |
class |
core/lib/Drupal/Core/Field/FieldDefinitionListener.php |
Reacts to field definition CRUD on behalf of the Entity system. |
FieldDefinitionListener.php |
file |
core/lib/Drupal/Core/Field/FieldDefinitionListener.php |
|