public static function ReusableBlocks::staticInlineBlockSubmit in Panopoly Magic 8.2
Static wrapper to call back into this service.
Parameters
array $form: The form.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
Return value
mixed The result of submitting the inline block.
File
- src/
Alterations/ ReusableBlocks.php, line 233
Class
- ReusableBlocks
- A service for altering some Layout Builder forms to allow reusable blocks.
Namespace
Drupal\panopoly_magic\AlterationsCode
public static function staticInlineBlockSubmit(array $form, FormStateInterface $form_state) {
return \Drupal::service('panopoly_magic.alterations.reusable_blocks')
->inlineBlockSubmit($form, $form_state);
}