Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
BaseFieldDefinition::$propertyDefinitions property core/lib/Drupal/Core/Field/BaseFieldDefinition.php An array of field property definitions.
BaseFieldDefinition::$schema property core/lib/Drupal/Core/Field/BaseFieldDefinition.php The field schema.
BaseFieldDefinition::$type property core/lib/Drupal/Core/Field/BaseFieldDefinition.php The field type.
BaseFieldDefinition::addPropertyConstraints function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Adds constraints for a given field item property.
BaseFieldDefinition::create function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new field definition.
BaseFieldDefinition::createFromFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new field definition based upon a field storage definition.
BaseFieldDefinition::createFromItemType function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new list data definition for items of the given data type.
BaseFieldDefinition::getCardinality function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the maximum number of items allowed for the field.
BaseFieldDefinition::getColumns function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the field columns, as defined in the field schema.
BaseFieldDefinition::getConfig function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Gets an object that can be saved in configuration.
BaseFieldDefinition::getDefaultValue function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default value for the field in a newly created entity.
BaseFieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default value callback for the field.
BaseFieldDefinition::getDefaultValueLiteral function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default value literal for the field.
BaseFieldDefinition::getDisplayOptions function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default display options for the field.
BaseFieldDefinition::getFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the field storage definition.
BaseFieldDefinition::getInitialValue function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the initial value for the field.
BaseFieldDefinition::getInitialValueFromField function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the name of the field that will be used for getting initial values.
BaseFieldDefinition::getMainPropertyName function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the name of the main property, if any.
BaseFieldDefinition::getName function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the machine name of the field.
BaseFieldDefinition::getOptionsProvider function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Gets an options provider for the given field item property.
BaseFieldDefinition::getPropertyDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Gets the definition of a contained property.
BaseFieldDefinition::getPropertyDefinitions function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Gets an array of property definitions of contained properties.
BaseFieldDefinition::getPropertyNames function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the names of the field's subproperties.
BaseFieldDefinition::getProvider function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the name of the provider of this field.
BaseFieldDefinition::getSchema function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the field schema.
BaseFieldDefinition::getSetting function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the value of a given setting.
BaseFieldDefinition::getSettings function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the array of settings, as required by the used class.
BaseFieldDefinition::getTargetBundle function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Gets the bundle the field is attached to.
BaseFieldDefinition::getTargetEntityTypeId function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the ID of the entity type the field is attached to.
BaseFieldDefinition::getType function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the field type.
BaseFieldDefinition::getUniqueIdentifier function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns a unique identifier for the field.
BaseFieldDefinition::getUniqueStorageIdentifier function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns a unique identifier for the field storage.
BaseFieldDefinition::hasCustomStorage function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the storage behavior for this field.
BaseFieldDefinition::isBaseField function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Determines whether the field is a base field.
BaseFieldDefinition::isDeleted function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns whether the field is deleted or not.
BaseFieldDefinition::isDisplayConfigurable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns whether the display for the field can be configured.
BaseFieldDefinition::isInternal function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Determines whether the data value is internal.
BaseFieldDefinition::isMultiple function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns whether the field can contain multiple items.
BaseFieldDefinition::isRevisionable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns whether the field storage is revisionable.
BaseFieldDefinition::isStorageRequired function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns whether the field storage is required.
BaseFieldDefinition::isTranslatable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns whether the field is translatable.
BaseFieldDefinition::setCardinality function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the maximum number of items allowed for the field.
BaseFieldDefinition::setCustomStorage function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the storage behavior for this field.
BaseFieldDefinition::setDefaultValue function core/lib/Drupal/Core/Field/BaseFieldDefinition.php
BaseFieldDefinition::setDefaultValueCallback function core/lib/Drupal/Core/Field/BaseFieldDefinition.php
BaseFieldDefinition::setDeleted function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field storage is deleted.
BaseFieldDefinition::setDisplayConfigurable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the display for the field can be configured.
BaseFieldDefinition::setDisplayOptions function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the display options for the field in forms or rendered entities.
BaseFieldDefinition::setInitialValue function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets an initial value for the field.
BaseFieldDefinition::setInitialValueFromField function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets a field that will be used for getting initial values.

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