private function FilterResponsiveTable::getWrapperAttributes in Responsive Table Filter 8
Get the wrapper class(es).
Return value
string The wrapper element classes.
1 call to FilterResponsiveTable::getWrapperAttributes()
- FilterResponsiveTable::processTableCallback in src/
Plugin/ Filter/ FilterResponsiveTable.php - Callback to replace content of the <table> elements.
File
- src/
Plugin/ Filter/ FilterResponsiveTable.php, line 105 - Contains \Drupal\responsive_table_filter\Plugin\Filter\FilterResponsiveTable.
Class
- FilterResponsiveTable
- Provides a filter that wraps <table> tags with a <figure> tag.
Namespace
Drupal\responsive_table_filter\Plugin\FilterCode
private function getWrapperAttributes() {
return new Attribute([
'class' => [
$this->settings['wrapper_classes'],
],
]);
}