public function TBMegaMenuBuilder::createStyleOptions in The Better Mega Menu 8
Same name and namespace in other branches
- 2.x src/TBMegaMenuBuilder.php \Drupal\tb_megamenu\TBMegaMenuBuilder::createStyleOptions()
Create options for styles.
Parameters
array $block_config: The block configuration.
Return value
array The options array.
Overrides TBMegaMenuBuilderInterface::createStyleOptions
File
- src/
TBMegaMenuBuilder.php, line 271
Class
- TBMegaMenuBuilder
- Defines a TBMegaMenuBuilder.
Namespace
Drupal\tb_megamenuCode
public function createStyleOptions(array $block_config) {
return [
'' => $this
->t('Default'),
'black' => $this
->t('Black'),
'blue' => $this
->t('Blue'),
'green' => $this
->t('Green'),
];
}