1 layout_style_default.inc LayoutStyle::__construct($plugin_name, array $data = array(), $is_region = FALSE)

Constructor for a Layout style class.

Parameters

array $plugin_name: The name of the plugin actually being used, which may be pointing at a parent class of this one.

array $data: An array of configuration data.

Overrides LayoutHandler::__construct

File

core/modules/layout/plugins/styles/layout_style_default.inc, line 23
Class providing forms and settings for the default Layout block style.

Class

LayoutStyle
@file Class providing forms and settings for the default Layout block style.

Code

function __construct($plugin_name, array $data = array(), $is_region = FALSE) {
  parent::__construct($plugin_name, $data);
  $this->settings += array(
    'classes' => '',
  );
  $this->is_region = $is_region;
}