Broken.php in Empty fields 8
File
src/Plugin/EmptyFields/Broken.php
View source
<?php
namespace Drupal\empty_fields\Plugin\EmptyFields;
use Drupal\empty_fields\EmptyFieldPluginBase;
class Broken extends EmptyFieldPluginBase {
public function react(array $context) {
return [
'#markup' => $this
->settingsSummary(),
];
}
public function settingsSummary() {
return $this
->t('This plugin broken or missing.');
}
}
Classes
Name |
Description |
Broken |
Defines a fallback plugin for missing empty field plugins. |