X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FField%2FPreconfiguredFieldUiOptionsInterface.php;h=684168aacb8aa64e087fc69268ea4372c5429719;hb=refs%2Fheads%2Fd864;hp=9130e8c017cce86dd39faed7f8a1baf25a2c3f6d;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Field/PreconfiguredFieldUiOptionsInterface.php b/web/core/lib/Drupal/Core/Field/PreconfiguredFieldUiOptionsInterface.php index 9130e8c01..684168aac 100644 --- a/web/core/lib/Drupal/Core/Field/PreconfiguredFieldUiOptionsInterface.php +++ b/web/core/lib/Drupal/Core/Field/PreconfiguredFieldUiOptionsInterface.php @@ -16,6 +16,11 @@ interface PreconfiguredFieldUiOptionsInterface { /** * Returns preconfigured field options for a field type. * + * Note that if you want to give modules an opportunity to alter the result + * of this method, you should call + * \Drupal\Core\Field\FieldTypePluginManagerInterface::getPreconfiguredOptions() + * instead. + * * @return mixed[][] * A multi-dimensional array with string keys and the following structure: * - label: The label to show in the field type selection list. @@ -35,6 +40,7 @@ interface PreconfiguredFieldUiOptionsInterface { * @see \Drupal\field\Entity\FieldStorageConfig * @see \Drupal\field\Entity\FieldConfig * @see \Drupal\Core\Entity\Display\EntityDisplayInterface::setComponent() + * @see \Drupal\Core\Field\FieldTypePluginManagerInterface::getPreconfiguredOptions() */ public static function getPreconfiguredOptions();