Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
a678efd6
Commit
a678efd6
authored
10 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2308707
by eojthebrave: Field widget @defgroup references wrong class in documentation.
parent
d1f6df12
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/field/field.api.php
+3
-3
3 additions, 3 deletions
core/modules/field/field.api.php
with
3 additions
and
3 deletions
core/modules/field/field.api.php
+
3
−
3
View file @
a678efd6
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
* hook_field_schema().
* hook_field_schema().
*
*
* Field types are plugins annotated with class
* 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\FieldItemInterface. Field Type plugins are managed by the
* \Drupal\Core\Field\FieldTypePluginManager class. Field type classes usually
* \Drupal\Core\Field\FieldTypePluginManager class. Field type classes usually
* extend base class \Drupal\Core\Field\FieldItemBase. Field-type plugins need
* 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
...
@@ -172,7 +172,7 @@ function hook_field_widget_WIDGET_TYPE_form_alter(&$element, &$form_state, $cont
*
*
* Formatters are Plugins managed by the
* Formatters are Plugins managed by the
* \Drupal\Core\Field\FormatterPluginManager class. A formatter is a plugin
* \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
* implements \Drupal\Core\Field\FormatterInterface (in most cases, by
* subclassing \Drupal\Core\Field\FormatterBase). Formatter plugins need to be
* subclassing \Drupal\Core\Field\FormatterBase). Formatter plugins need to be
* in the namespace \Drupal\{your_module}\Plugin\Field\FieldFormatter.
* 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
...
@@ -247,7 +247,7 @@ function hook_field_info_max_weight($entity_type, $bundle, $context, $context_mo
* that cannot be updated.
* that cannot be updated.
*
*
* To forbid the update from occurring, throw a
* 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
* @param \Drupal\field\FieldStorageConfigInterface $field_storage
* The field storage as it will be post-update.
* The field storage as it will be post-update.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment