X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FField%2FPreconfiguredFieldUiOptionsInterface.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FField%2FPreconfiguredFieldUiOptionsInterface.php;h=684168aacb8aa64e087fc69268ea4372c5429719;hp=9130e8c017cce86dd39faed7f8a1baf25a2c3f6d;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 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();