Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
301
Merge Requests
301
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
8aa8c492
Commit
8aa8c492
authored
Aug 13, 2014
by
jhodgdon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2320537
by er.pushpinderrana: Fix syntax problems in core.api.php
parent
c6ec2add
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
30 deletions
+24
-30
core/modules/system/core.api.php
core/modules/system/core.api.php
+24
-30
No files found.
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