export($input, $name); } /** * {@inheritdoc} */ public function exportAsRenderable($input, $name = NULL) { return ['#markup' => $this->export($input, $name)]; } /** * Wrapper for \Drupal\Core\Render\Markup::create(). * * @param string $input * The input string to mark as safe. * * @return string * The unaltered input value. */ protected function setSafeMarkup($input) { return FilteredMarkup::create($input); } }