Updated to Drupal 8.6.4, which is PHP 7.3 friendly. Also updated HTMLaw library....
[yaffs-website] / web / core / lib / Drupal / Core / Field / RequiredFieldStorageDefinitionInterface.php
1 <?php
2
3 namespace Drupal\Core\Field;
4
5 /**
6  * Defines an interface for required field storage definitions.
7  */
8 interface RequiredFieldStorageDefinitionInterface {
9
10   /**
11    * Returns whether the field storage is required.
12    *
13    * If a field storage is required, NOT NULL constraints will be added
14    * automatically for the required properties of a field type.
15    *
16    * @return bool
17    *   TRUE if the field storage is required, FALSE otherwise.
18    */
19   public function isStorageRequired();
20
21 }