Skip to content
Snippets Groups Projects
Commit edaa3d57 authored by Liam Morland's avatar Liam Morland
Browse files

Issue #3397688 by dineshkumarbollu: Correct case of TablefieldFormatter::$moduleHandler

parent 8f0f4e75
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ class TablefieldFormatter extends FormatterBase implements ContainerFactoryPlugi
) {
parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $label, $view_mode, $third_party_settings);
$this->currentUser = $currentUser;
$this->ModuleHandler = $moduleHandler;
$this->moduleHandler = $moduleHandler;
}
/**
......@@ -241,7 +241,7 @@ class TablefieldFormatter extends FormatterBase implements ContainerFactoryPlugi
];
// Extend render array if responsive_tables_filter module is enabled.
if ($this->ModuleHandler->moduleExists('responsive_tables_filter')) {
if ($this->moduleHandler->moduleExists('responsive_tables_filter')) {
array_push($render_array['tablefield']['#attributes']['class'], 'tablesaw', 'tablesaw-stack');
$render_array['tablefield']['#attributes']['data-tablesaw-mode'] = 'stack';
$render_array['tablefield']['#attached'] = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment