Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 10.3.x for definition
  4. Search 11.x for definition
  5. Other projects
Title Object type File name Summary
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::isQueryable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Determines whether the field is queryable via QueryInterface.
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::setQueryable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field is queryable.
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.
BaseFieldDefinitionTest::create function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php Creates a new field definition.
BaseFieldDefinitionTest::getSettings function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php Returns the array of settings, as required by the used class.
BaseFieldDefinitionTest::getType function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php Returns the field type.
BaseFieldDefinitionTest::mockDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Provides a Mock base field default value callback.
BaseFieldDefinitionTest::setUp function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php

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