1 layout_style_default.inc LayoutStyle::form(&$form, &$form_state)

Specifies the settings form for configuring the style.

File

core/modules/layout/plugins/styles/layout_style_default.inc, line 34
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 form(&$form, &$form_state) {
  if (!$this->is_region) {
    $form['classes'] = array(
      '#title' => t('Additional CSS classes'),
      '#type' => 'textfield',
      '#default_value' => $this->settings['classes'],
      '#description' => t('Separate class names with spaces. Example: <code>wrapper clearfix</code>'),
    );
  }
}