Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
a678efd6
Commit
a678efd6
authored
Jul 25, 2014
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2308707
by eojthebrave: Field widget @defgroup references wrong class in documentation.
parent
d1f6df12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
core/modules/field/field.api.php
core/modules/field/field.api.php
+3
-3
No files found.
core/modules/field/field.api.php
View file @
a678efd6
...
...
@@ -18,7 +18,7 @@
* 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\
Field
StorageDefinitionUpdateForbiddenException.
*
* @param \Drupal\field\FieldStorageConfigInterface $field_storage
* The field storage as it will be post-update.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment