layout_paragraphs.api.php in Layout Paragraphs 2.0.x
Same filename and directory in other branches
API documentation for Layout Paragraphs module.
File
layout_paragraphs.api.phpView source
<?php
/**
* @file
* API documentation for Layout Paragraphs module.
*/
use Drupal\Core\Form\FormStateInterface;
/**
* Alter the Layout Paragraph Element Form.
*
* Allow others modules to adjust the Layout Paragraph Element Dialog Form..
*
* @param array $element_form
* The Layout Paragraph Element Form.
* @param \Drupal\Core\Form\FormStateInterface $element_form_state
* The Layout Paragraph Element Form State.
* @param array $parent_form
* The Parent Form.
* */
function hook_layout_paragraph_element_form_alter(array &$element_form, FormStateInterface &$element_form_state, array $parent_form) {
// Make custom alterations to adjust the Layout Paragraph Element Form..
}
Functions
Name | Description |
---|---|
hook_layout_paragraph_element_form_alter | Alter the Layout Paragraph Element Form. |