definition['original_configuration'] as $key => $value) { if (is_scalar($value)) { $items[] = SafeMarkup::format('@key: @value', ['@key' => $key, '@value' => $value]); } } $description_bottom = t('Enabling the appropriate module may solve this issue. Otherwise, check to see if there is a module update available.'); $form['description'] = [ '#type' => 'container', '#attributes' => [ 'class' => ['js-form-item', 'form-item', 'description'], ], 'description_top' => [ '#markup' => '

' . $description_top . '

', ], 'detail_list' => [ '#theme' => 'item_list', '#items' => $items, ], 'description_bottom' => [ '#markup' => '

' . $description_bottom . '

', ], ]; } /** * Determines if the handler is considered 'broken'. * * This means it's a placeholder used when a handler can't be found. * * @see \Drupal\views\Plugin\views\HandlerBase::broken() */ public function broken() { return TRUE; } /** * Gets dependencies for a broken handler. * * @return array * * @see \Drupal\views\Plugin\views\PluginBase::calculateDependencies() */ public function calculateDependencies() { return []; } }