FieldStorageDefinition.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\entity_testFile
core/modules/system/tests/modules/entity_test/src/FieldStorageDefinition.phpView source
<?php
namespace Drupal\entity_test;
use Drupal\Core\Field\BaseFieldDefinition;
/**
* A custom field storage definition class.
*
* For convenience we extend from BaseFieldDefinition although this should not
* implement FieldDefinitionInterface.
*
* @todo Provide and make use of a proper FieldStorageDefinition class instead:
* https://www.drupal.org/node/2280639.
*/
class FieldStorageDefinition extends BaseFieldDefinition {
/**
* {@inheritdoc}
*/
public function isBaseField() {
return FALSE;
}
}
Classes
Name | Description |
---|---|
FieldStorageDefinition | A custom field storage definition class. |