summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries2014-07-25 17:26:47 (GMT)
committerDries2014-07-25 17:26:47 (GMT)
commita678efd6d716ac5c6106e6061c34e5292e575d19 (patch)
tree5f2852f74444c43abb145cdae4f0c33f0922f773
parentd1f6df12e0b9e9882126d4b4f00fd4896d2a9a23 (diff)
Issue #2308707 by eojthebrave: Field widget @defgroup references wrong class in documentation.
-rw-r--r--core/modules/field/field.api.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/field/field.api.php b/core/modules/field/field.api.php
index 639e422..62a8c1c 100644
--- a/core/modules/field/field.api.php
+++ b/core/modules/field/field.api.php
@@ -18,7 +18,7 @@ use Drupal\Component\Utility\NestedArray;
* hook_field_schema().
*
* Field types are plugins annotated with class
- * \Drupal\Core\Entity\Annotation\FieldType, and implement plugin interface
+ * \Drupal\Core\Field\Annotation\FieldType, and implement plugin interface
* \Drupal\Core\Field\FieldItemInterface. Field Type plugins are managed by the
* \Drupal\Core\Field\FieldTypePluginManager class. Field type classes usually
* extend base class \Drupal\Core\Field\FieldItemBase. Field-type plugins need
@@ -172,7 +172,7 @@ function hook_field_widget_WIDGET_TYPE_form_alter(&$element, &$form_state, $cont
*
* Formatters are Plugins managed by the
* \Drupal\Core\Field\FormatterPluginManager class. A formatter is a plugin
- * annotated with class \Drupal\Core\Entity\Annotation\FieldFormatter that
+ * annotated with class \Drupal\Core\Field\Annotation\FieldFormatter that
* implements \Drupal\Core\Field\FormatterInterface (in most cases, by
* subclassing \Drupal\Core\Field\FormatterBase). Formatter plugins need to be
* in the namespace \Drupal\{your_module}\Plugin\Field\FieldFormatter.
@@ -247,7 +247,7 @@ function hook_field_info_max_weight($entity_type, $bundle, $context, $context_mo
* that cannot be updated.
*
* To forbid the update from occurring, throw a
- * \Drupal\Core\Entity\Exception\StorageDefinitionUpdateForbiddenException.
+ * \Drupal\Core\Entity\Exception\FieldStorageDefinitionUpdateForbiddenException.
*
* @param \Drupal\field\FieldStorageConfigInterface $field_storage
* The field storage as it will be post-update.