Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / paragraphs / paragraphs.api.php
1 <?php
2
3 /**
4  * @file
5  * Hooks and documentation related to paragraphs module.
6  */
7
8 /**
9  * @addtogroup hooks
10  * @{
11  */
12
13 /**
14  * Alter the information provided in
15  * \Drupal\paragraphs\Annotation\ParagraphsBehavior.
16  *
17  * @param $paragraphs_behavior
18  *   The array of paragraphs behavior plugins, keyed on the
19  *   machine-readable plugin name.
20  */
21 function hook_paragraphs_behavior_info_alter(&$paragraphs_behavior) {
22   // Set a new label for the my_layout plugin instead of the one
23   // provided in the annotation.
24   $paragraphs_behavior['my_layout']['label'] = t('New label');
25 }
26
27 /**
28  * @} End of "addtogroup hooks".
29  */