Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 10.3.x for interface
  5. Other projects
Title Object type File name Summary
FieldableEntityInterface interface core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Interface for entities having fields.
FieldableEntityInterface.php file core/lib/Drupal/Core/Entity/FieldableEntityInterface.php
FieldableEntityInterface::baseFieldDefinitions function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Provides base field definitions for an entity type.
FieldableEntityInterface::bundleFieldDefinitions function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Provides field definitions for a specific bundle.
FieldableEntityInterface::get function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets a field item list.
FieldableEntityInterface::getFieldDefinition function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets the definition of a contained field.
FieldableEntityInterface::getFieldDefinitions function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of field definitions of all contained fields.
FieldableEntityInterface::getFields function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of all field item lists.
FieldableEntityInterface::getTranslatableFields function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of field item lists for translatable fields.
FieldableEntityInterface::hasField function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Determines whether the entity has a field with the given name.
FieldableEntityInterface::isValidationRequired function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Checks whether entity validation is required before saving the entity.
FieldableEntityInterface::onChange function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Reacts to changes to a field.
FieldableEntityInterface::set function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Sets a field value.
FieldableEntityInterface::setValidationRequired function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Sets whether entity validation is required before saving the entity.
FieldableEntityInterface::toArray function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of all field values.
FieldableEntityInterface::validate function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Validates the currently set values.
FieldableEntityStorageInterface interface core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php A storage that supports entity types with field definitions.
FieldableEntityStorageInterface.php file core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php
FieldableEntityStorageInterface::countFieldData function core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php Determines the number of entities with values for a given field.
FieldableEntityStorageInterface::finalizePurge function core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php Performs final cleanup after all data of a field has been purged.
FieldableEntityStorageInterface::purgeFieldData function core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php Purges a batch of field data.
FieldConfigInterface interface core/lib/Drupal/Core/Field/FieldConfigInterface.php Defines an interface for configurable field definitions.
FieldConfigInterface interface core/modules/field/src/FieldConfigInterface.php Provides an interface defining a field entity.
FieldConfigInterface.php file core/modules/field/src/FieldConfigInterface.php
FieldConfigInterface.php file core/lib/Drupal/Core/Field/FieldConfigInterface.php
FieldConfigInterface::addConstraint function core/lib/Drupal/Core/Field/FieldConfigInterface.php Adds a validation constraint to the FieldItemList.
FieldConfigInterface::addPropertyConstraints function core/lib/Drupal/Core/Field/FieldConfigInterface.php Adds constraints for a given field item property.
FieldConfigInterface::isDeleted function core/modules/field/src/FieldConfigInterface.php Gets the deleted flag of the field.
FieldConfigInterface::setConstraints function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets the array of validation constraints for the FieldItemList.
FieldConfigInterface::setDefaultValue function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets a default value.
FieldConfigInterface::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets a custom default value callback.
FieldConfigInterface::setDescription function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets a human readable description.
FieldConfigInterface::setLabel function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets the field definition label.
FieldConfigInterface::setPropertyConstraints function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets constraints for a given field item property.
FieldConfigInterface::setRequired function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets whether the field can be empty.
FieldConfigInterface::setSetting function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets the value for a field setting by name.
FieldConfigInterface::setSettings function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets field settings.
FieldConfigInterface::setTranslatable function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets whether the field is translatable.
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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.