Upgraded imagemagick and manually altered pdf to image module to handle changes....
[yaffs-website] / web / modules / contrib / entity / src / BundleFieldDefinition.php
1 <?php
2
3 namespace Drupal\entity;
4
5 use Drupal\Core\Field\BaseFieldDefinition;
6
7 /**
8  * Provides a field definition class for bundle fields.
9  *
10  * Core currently doesn't provide one, the hook_entity_bundle_field_info()
11  * example uses BaseFieldDefinition, which is wrong. Tracked in #2346347.
12  *
13  * Note that this class implements both FieldStorageDefinitionInterface and
14  * FieldDefinitionInterface. This is a simplification for DX reasons,
15  * allowing code to return just the bundle definitions instead of having to
16  * return both storage definitions and bundle definitions.
17  */
18 class BundleFieldDefinition extends BaseFieldDefinition {
19
20   /**
21    * {@inheritdoc}
22    */
23   public function isBaseField() {
24     return FALSE;
25   }
26
27 }