You are here

function hook_layout_builder_base_align_items_alter in Layout Builder Base 8

Alters the align items options provided in \Drupal\layout_builder_base_library\Plugin\Layout\BaseMultipleColumnsLayout.

Parameters

array $options: The array of options for the align items.

1 function implements hook_layout_builder_base_align_items_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

layout_builder_base_layout_builder_base_align_items_alter in ./layout_builder_base.module
Implements hook_layout_builder_base_align_items_alter().
1 invocation of hook_layout_builder_base_align_items_alter()
BaseMultipleColumnsLayout::getAlignItemsOptions in modules/layout_builder_base_library/src/Plugin/Layout/BaseMultipleColumnsLayout.php
Gets the align items options for the configuration form.

File

./layout_builder_base.api.php, line 269
Hooks related to Layout Builder Base and its plugins.

Code

function hook_layout_builder_base_align_items_alter(array &$options) {
  $options['option-class'] = 'Option';
}