function hook_layout_builder_base_three_column_width_alter in Layout Builder Base 8
Alters the column width options provided in \Drupal\layout_builder_base_library\Plugin\Layout\BaseThreeColumnsLayout.
Parameters
array $options: The array of options for the column width.
1 function implements hook_layout_builder_base_three_column_width_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
1 invocation of hook_layout_builder_base_three_column_width_alter()
- BaseThreeColumnsLayout::getColumnWidthOptions in modules/
layout_builder_base_library/ src/ Plugin/ Layout/ BaseThreeColumnsLayout.php - Gets the column width options for the configuration form.
File
- ./
layout_builder_base.api.php, line 289 - Hooks related to Layout Builder Base and its plugins.
Code
function hook_layout_builder_base_three_column_width_alter(array &$options) {
$options['option-class'] = 'Option';
}