'#title' =>
$this->
t('Default column classes'
),
'#description' =>
$this->
t('Add the default views column classes like views-col, col-1 and clearfix to the output. You can use this to quickly reduce the amount of markup the view provides by default, at the cost of making it more difficult to apply CSS.'
),
'#type' => 'checkbox',
'#default_value' =>
$this->options
['col_class_default'
],
];
$form['col_class_custom'
] =
[ '#title' =>
$this->
t('Custom column class'
),
'#description' =>
$this->
t('Additional classes to provide on each column. Separated by a space.'
),
'#type' => 'textfield',
'#default_value' =>
$this->options
['col_class_custom'
],
];
if ($this->
usesFields()) { $form['col_class_custom'
]['#description'
] .= ' ' .
$this->
t('You may use field tokens from as per the "Replacement patterns" used in "Rewrite the output of this field" for all fields.'
);
} $form['row_class_default'
] =
[ '#title' =>
$this->
t('Default row classes'
),
'#description' =>
$this->
t('Adds the default views row classes like views-row, row-1 and clearfix to the output. You can use this to quickly reduce the amount of markup the view provides by default, at the cost of making it more difficult to apply CSS.'
),
'#type' => 'checkbox',
'#default_value' =>
$this->options
['row_class_default'
],
];
$form['row_class_custom'
] =
[ '#title' =>
$this->
t('Custom row class'
),
'#description' =>
$this->
t('Additional classes to provide on each row. Separated by a space.'
),