getSettings(); foreach ($settings['toolbar']['rows'] as $row) { foreach ($row as $group) { if (in_array('Strike', $group['items'])) { return TRUE; } } } return FALSE; } /** * {@inheritdoc} */ public function getFile() { return drupal_get_path('module', 'ckeditor_test') . '/js/llama_contextual.js'; } }