Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / system / tests / modules / entity_test / src / FieldStorageDefinition.php
1 <?php
2
3 namespace Drupal\entity_test;
4
5 use Drupal\Core\Field\BaseFieldDefinition;
6
7 /**
8  * A custom field storage definition class.
9  *
10  * For convenience we extend from BaseFieldDefinition although this should not
11  * implement FieldDefinitionInterface.
12  *
13  * @todo Provide and make use of a proper FieldStorageDefinition class instead:
14  *   https://www.drupal.org/node/2280639.
15  */
16 class FieldStorageDefinition extends BaseFieldDefinition {
17
18   /**
19    * {@inheritdoc}
20    */
21   public function isBaseField() {
22     return FALSE;
23   }
24
25 }