Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/Render/PreviewFallbackInterface.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | |
children |
line wrap: on
line source
<?php namespace Drupal\Core\Render; /** * Allows an element to provide a fallback representation of itself for preview. */ interface PreviewFallbackInterface { /** * Returns a string to be used as a fallback during preview. * * This is typically used when an element has no output and must be displayed, * for example during configuration. * * @return string|\Drupal\Core\StringTranslation\TranslatableMarkup * A string representing for this. */ public function getPreviewFallbackString(); }