Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8aa8c492
Commit
8aa8c492
authored
Aug 13, 2014
by
Jennifer Hodgdon
Browse files
Issue
#2320537
by er.pushpinderrana: Fix syntax problems in core.api.php
parent
c6ec2add
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/system/core.api.php
View file @
8aa8c492
...
...
@@ -1491,10 +1491,7 @@
* passed to most methods, so they can use it to communicate with the form
* system and each other. $form_state is an object that implements
* \Drupal\Core\Form\FormStateInterface.
*/
/**
* @} End of "defgroup form_api".
* @}
*/
/**
...
...
@@ -1546,32 +1543,7 @@
* section, regardless of the queue being reliable or not, the processing code
* should be aware that an item might be handed over for processing more than
* once (because the processing code might time out before it finishes).
*/
/**
* @} End of "defgroup queue".
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Alter display variant plugin definitions.
*
* @param array $definitions
* The array of display variant definitions, keyed by plugin ID.
*
* @see \Drupal\Core\Display\VariantManager
* @see \Drupal\Core\Display\Annotation\DisplayVariant
*/
function
hook_display_variant_plugin_alter
(
array
&
$definitions
)
{
$definitions
[
'full_page'
][
'admin_label'
]
=
t
(
'Block layout'
);
}
/**
* @} End of "addtogroup hooks".
* @}
*/
/**
...
...
@@ -1624,3 +1596,25 @@ function hook_display_variant_plugin_alter(array &$definitions) {
*
* @}
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Alter display variant plugin definitions.
*
* @param array $definitions
* The array of display variant definitions, keyed by plugin ID.
*
* @see \Drupal\Core\Display\VariantManager
* @see \Drupal\Core\Display\Annotation\DisplayVariant
*/
function
hook_display_variant_plugin_alter
(
array
&
$definitions
)
{
$definitions
[
'full_page'
][
'admin_label'
]
=
t
(
'Block layout'
);
}
/**
* @} End of "addtogroup hooks".
*/
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