projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Field
/
PreconfiguredFieldUiOptionsInterface.php
diff --git
a/web/core/lib/Drupal/Core/Field/PreconfiguredFieldUiOptionsInterface.php
b/web/core/lib/Drupal/Core/Field/PreconfiguredFieldUiOptionsInterface.php
index 9130e8c017cce86dd39faed7f8a1baf25a2c3f6d..684168aacb8aa64e087fc69268ea4372c5429719 100644
(file)
--- 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.
*
/**
* 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.
* @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\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();
*/
public static function getPreconfiguredOptions();