You are here

public function SmartMenusBlock::getSelectedOrientation in Smartmenus.js 8

Return value

string Return the orientation of the menu block.

1 call to SmartMenusBlock::getSelectedOrientation()
SmartMenusBlock::build in src/Plugin/Block/SmartMenusBlock.php
Builds and returns the renderable array for this block plugin.

File

src/Plugin/Block/SmartMenusBlock.php, line 188

Class

SmartMenusBlock
Provides a 'SmartMenusBlock' block.

Namespace

Drupal\smartmenus\Plugin\Block

Code

public function getSelectedOrientation() {
  return $this
    ->getConfiguration()['smartmenus_orient'];
}