Search for field_

  1. Search 7.x for field_
  2. Search 9.5.x for field_
  3. Search 10.3.x for field_
  4. Search 11.x for field_
  5. Other projects
Title Object type File name Summary
FieldConfigBase.php file core/lib/Drupal/Core/Field/FieldConfigBase.php
FieldConfigBase::$bundle property core/lib/Drupal/Core/Field/FieldConfigBase.php The name of the bundle the field is attached to.
FieldConfigBase::$constraints property core/lib/Drupal/Core/Field/FieldConfigBase.php Array of constraint options keyed by constraint plugin ID.
FieldConfigBase::$default_value property core/lib/Drupal/Core/Field/FieldConfigBase.php Default field value.
FieldConfigBase::$default_value_callback property core/lib/Drupal/Core/Field/FieldConfigBase.php The name of a callback function that returns default values.
FieldConfigBase::$description property core/lib/Drupal/Core/Field/FieldConfigBase.php The field description.
FieldConfigBase::$entity_type property core/lib/Drupal/Core/Field/FieldConfigBase.php The name of the entity type the field is attached to.
FieldConfigBase::$fieldStorage property core/lib/Drupal/Core/Field/FieldConfigBase.php The field storage object.
FieldConfigBase::$field_name property core/lib/Drupal/Core/Field/FieldConfigBase.php The field name.
FieldConfigBase::$field_type property core/lib/Drupal/Core/Field/FieldConfigBase.php The field type.
FieldConfigBase::$id property core/lib/Drupal/Core/Field/FieldConfigBase.php The field ID.
FieldConfigBase::$itemDefinition property core/lib/Drupal/Core/Field/FieldConfigBase.php The data definition of a field item.
FieldConfigBase::$label property core/lib/Drupal/Core/Field/FieldConfigBase.php The human-readable label for the field.
FieldConfigBase::$propertyConstraints property core/lib/Drupal/Core/Field/FieldConfigBase.php Array of property constraint options keyed by property ID. The values are
associative array of constraint options keyed by constraint plugin ID.
FieldConfigBase::$required property core/lib/Drupal/Core/Field/FieldConfigBase.php Flag indicating whether the field is required.
FieldConfigBase::$settings property core/lib/Drupal/Core/Field/FieldConfigBase.php Field-type specific settings.
FieldConfigBase::$translatable property core/lib/Drupal/Core/Field/FieldConfigBase.php Flag indicating whether the field is translatable.
FieldConfigBase::addConstraint function core/lib/Drupal/Core/Field/FieldConfigBase.php Adds a validation constraint to the FieldItemList.
FieldConfigBase::addPropertyConstraints function core/lib/Drupal/Core/Field/FieldConfigBase.php Adds constraints for a given field item property.
FieldConfigBase::calculateDependencies function core/lib/Drupal/Core/Field/FieldConfigBase.php Calculates dependencies and stores them in the dependency property.
FieldConfigBase::createFromDataType function core/lib/Drupal/Core/Field/FieldConfigBase.php Creates a new data definition object.
FieldConfigBase::createFromItemType function core/lib/Drupal/Core/Field/FieldConfigBase.php Creates a new list data definition for items of the given data type.
FieldConfigBase::getClass function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the class used for creating the typed data object.
FieldConfigBase::getConfig function core/lib/Drupal/Core/Field/FieldConfigBase.php Gets an object that can be saved in configuration.
FieldConfigBase::getConstraint function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns a validation constraint.
FieldConfigBase::getConstraints function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns an array of validation constraints.
FieldConfigBase::getDataType function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the data type of the data.
FieldConfigBase::getDefaultValue function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the default value for the field in a newly created entity.
FieldConfigBase::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the default value callback for the field.
FieldConfigBase::getDefaultValueLiteral function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the default value literal for the field.
FieldConfigBase::getDescription function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns a human readable description.
FieldConfigBase::getItemDefinition function core/lib/Drupal/Core/Field/FieldConfigBase.php Gets the data definition of an item of the list.
FieldConfigBase::getLabel function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns a human readable label.
FieldConfigBase::getName function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the machine name of the field.
FieldConfigBase::getSetting function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the value of a given setting.
FieldConfigBase::getSettings function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the array of settings, as required by the used class.
FieldConfigBase::getTargetBundle function core/lib/Drupal/Core/Field/FieldConfigBase.php Gets the bundle the field is attached to.
FieldConfigBase::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the ID of the entity type the field is attached to.
FieldConfigBase::getType function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the field type.
FieldConfigBase::id function core/lib/Drupal/Core/Field/FieldConfigBase.php Gets the identifier.
FieldConfigBase::isInternal function core/lib/Drupal/Core/Field/FieldConfigBase.php Determines whether the data value is internal.
FieldConfigBase::isList function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns whether the data is multi-valued, i.e. a list of data items.
FieldConfigBase::isRequired function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns whether the field can be empty.
FieldConfigBase::isTranslatable function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns whether the field is translatable.
FieldConfigBase::onDependencyRemoval function core/lib/Drupal/Core/Field/FieldConfigBase.php Informs the entity that entities it depends on will be deleted.
FieldConfigBase::postCreate function core/lib/Drupal/Core/Field/FieldConfigBase.php Acts on a created entity before hooks are invoked.
FieldConfigBase::postSave function core/lib/Drupal/Core/Field/FieldConfigBase.php Acts on a saved entity before the insert or update hook is invoked.
FieldConfigBase::setConstraints function core/lib/Drupal/Core/Field/FieldConfigBase.php Sets the array of validation constraints for the FieldItemList.
FieldConfigBase::setDefaultValue function core/lib/Drupal/Core/Field/FieldConfigBase.php Sets a default value.
FieldConfigBase::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigBase.php Sets a custom default value callback.

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