Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
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.
BaseFieldDefinition::setName function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the field name.
BaseFieldDefinition::setPropertyConstraints function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets constraints for a given field item property.
BaseFieldDefinition::setProvider function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the name of the provider of this field.
BaseFieldDefinition::setRevisionable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field is revisionable.
BaseFieldDefinition::setSetting function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets a definition setting.
BaseFieldDefinition::setSettings function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Note that the method does not unset existing settings not specified in the
incoming $settings array.
BaseFieldDefinition::setStorageRequired function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field storage is required.
BaseFieldDefinition::setTargetBundle function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the bundle this field is defined for.
BaseFieldDefinition::setTargetEntityTypeId function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the ID of the type of the entity this field is attached to.
BaseFieldDefinition::setTranslatable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field is translatable.
BaseFieldDefinition::__clone function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Magic method: Implements a deep clone.
BaseFieldDefinition::__sleep function core/lib/Drupal/Core/Field/BaseFieldDefinition.php
BaseFieldDefinitionTest class core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Unit test for BaseFieldDefinition.
BaseFieldDefinitionTest class core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php Stub class for BaseFieldDefinition.
BaseFieldDefinitionTest.php file core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
BaseFieldDefinitionTest::$fieldType property core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php A dummy field type name.
BaseFieldDefinitionTest::$fieldTypeDefinition property core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php A dummy field type definition.

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