'#default_value' => array_filter($config->get('display_extenders')),
'#options' => $options,
'#type' => 'checkboxes',
- '#description' => $this->t('Select extensions of the views interface.')
+ '#description' => $this->t('Select extensions of the views interface.'),
];
}
*/
public function cacheSubmit() {
views_invalidate_cache();
- drupal_set_message($this->t('The cache has been cleared.'));
+ $this->messenger()->addStatus($this->t('The cache has been cleared.'));
}
}