Search for init
Title | Object type | File name | Summary |
---|---|---|---|
FieldDefinitionInterface::getTargetBundle | function | core/ |
Gets the bundle the field is attached to. |
FieldDefinitionInterface::getTargetEntityTypeId | function | core/ |
Returns the ID of the entity type the field is attached to. |
FieldDefinitionInterface::getType | function | core/ |
Returns the field type. |
FieldDefinitionInterface::getUniqueIdentifier | function | core/ |
Returns a unique identifier for the field. |
FieldDefinitionInterface::isDisplayConfigurable | function | core/ |
Returns whether the display for the field can be configured. |
FieldDefinitionInterface::isRequired | function | core/ |
Returns whether the field can be empty. |
FieldDefinitionInterface::isTranslatable | function | core/ |
Returns whether the field is translatable. |
FieldDefinitionListener | class | core/ |
Reacts to field definition CRUD on behalf of the Entity system. |
FieldDefinitionListener.php | file | core/ |
|
FieldDefinitionListener::$cacheBackend | property | core/ |
Cache backend instance. |
FieldDefinitionListener::$entityFieldManager | property | core/ |
The entity field manager. |
FieldDefinitionListener::$entityTypeManager | property | core/ |
The entity type manager. |
FieldDefinitionListener::$keyValueFactory | property | core/ |
The key-value factory. |
FieldDefinitionListener::onFieldDefinitionCreate | function | core/ |
Reacts to the creation of a field. |
FieldDefinitionListener::onFieldDefinitionDelete | function | core/ |
Reacts to the deletion of a field. |
FieldDefinitionListener::onFieldDefinitionUpdate | function | core/ |
Reacts to the update of a field. |
FieldDefinitionListener::__construct | function | core/ |
Constructs a new FieldDefinitionListener. |
FieldDefinitionListenerInterface | interface | core/ |
Defines an interface for reacting to field creation, deletion, and updates. |
FieldDefinitionListenerInterface.php | file | core/ |
|
FieldDefinitionListenerInterface::onFieldDefinitionCreate | function | core/ |
Reacts to the creation of a field. |
FieldDefinitionListenerInterface::onFieldDefinitionDelete | function | core/ |
Reacts to the deletion of a field. |
FieldDefinitionListenerInterface::onFieldDefinitionUpdate | function | core/ |
Reacts to the update of a field. |
FieldDefinitionListenerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Field\FieldDefinitionListener @group Field |
FieldDefinitionListenerTest.php | file | core/ |
|
FieldDefinitionListenerTest::$cacheBackend | property | core/ |
The cache backend. |
FieldDefinitionListenerTest::$entityFieldManager | property | core/ |
The entity field manager. |
FieldDefinitionListenerTest::$entityTypeManager | property | core/ |
The entity type manager. |
FieldDefinitionListenerTest::$fieldDefinitionListener | property | core/ |
The field definition listener under test. |
FieldDefinitionListenerTest::$keyValueFactory | property | core/ |
The key-value factory. |
FieldDefinitionListenerTest::setUp | function | core/ |
|
FieldDefinitionListenerTest::setUpEntityTypeManager | function | core/ |
Sets up the entity type manager to be tested. |
FieldDefinitionListenerTest::testOnFieldDefinitionCreateExistingField | function | core/ |
@covers ::onFieldDefinitionCreate |
FieldDefinitionListenerTest::testOnFieldDefinitionCreateNewField | function | core/ |
@covers ::onFieldDefinitionCreate |
FieldDefinitionListenerTest::testOnFieldDefinitionDeleteMultipleBundles | function | core/ |
@covers ::onFieldDefinitionDelete |
FieldDefinitionListenerTest::testOnFieldDefinitionDeleteSingleBundles | function | core/ |
@covers ::onFieldDefinitionDelete |
FieldDefinitionListenerTest::testOnFieldDefinitionUpdate | function | core/ |
@covers ::onFieldDefinitionUpdate |
FieldDefinitionTest | class | core/ |
Unit test for the FieldDefinition class. |
FieldDefinitionTest.php | file | core/ |
|
FieldDefinitionTest::$fieldType | property | core/ |
A dummy field type name. |
FieldDefinitionTest::$fieldTypeDefinition | property | core/ |
A dummy field type definition. |
FieldDefinitionTest::$storageDefinition | property | core/ |
The test field storage definition. |
FieldDefinitionTest::$storageSupportsTranslation | property | core/ |
A flag for setting if the field storage supports translation. |
FieldDefinitionTest::factoryTypeProvider | function | core/ |
A data provider for all the types of factories that can create definitions. |
FieldDefinitionTest::initializeFieldUsingFactory | function | core/ |
Creates a bundle field using a specified factory. |
FieldDefinitionTest::mockDefaultValueCallback | function | core/ |
Provides a Mock base field default value callback. |
FieldDefinitionTest::setUp | function | core/ |
|
FieldDefinitionTest::testBundle | function | core/ |
@covers ::setTargetBundle @covers ::getTargetBundle @dataProvider factoryTypeProvider |
FieldDefinitionTest::testDefaultFieldSettings | function | core/ |
@covers ::getSetting @covers ::setSetting @covers ::getSettings @dataProvider factoryTypeProvider |
FieldDefinitionTest::testDefaultValueCallback | function | core/ |
Tests default value callbacks. |
FieldDefinitionTest::testDisplayConfigurationSettings | function | core/ |
Tests the display configuration settings. |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.