
| Current Path : /var/www/html/rocksensor/web/core/lib/Drupal/Core/Render/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor/web/core/lib/Drupal/Core/Render/PreviewFallbackInterface.php |
<?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();
}