1 layout_style_dynamic.inc LayoutStyleDynamic::__construct($plugin_name, array $data = array())

Constructor for a Layout style dynamic class.

Overrides LayoutStyle::__construct

File

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

Class

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

Code

function __construct($plugin_name, array $data = array()) {
  parent::__construct($plugin_name, $data);
  $this->settings += array(
    'wrapper_tag' => 'div',
    'title_tag' => 'h2',
    'title_classes' => 'block-title',
    'content_tag' => 'div',
    'content_classes' => '',
  );
}