Skip to content
Snippets Groups Projects

Changing class attribute to array from string.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -174,7 +174,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
Url::fromUri($module->info[ExtensionLifecycle::LIFECYCLE_LINK_IDENTIFIER], [
'attributes' =>
[
'class' => 'module-link--non-stable',
'class' => ['module-link--non-stable'],
'aria-label' => $this->t('View information on the @lifecycle status of the module @module', [
'@lifecycle' => ucfirst($lifecycle),
'@module' => $module->info['name'],
Loading