ViewModeSelectorFormatter.php in Opigno certificate 8
Same filename and directory in other branches
File
src/Plugin/Field/FieldFormatter/ViewModeSelectorFormatter.phpView source
<?php
namespace Drupal\opigno_certificate\Plugin\Field\FieldFormatter;
use Drupal\text\Plugin\Field\FieldFormatter\TextDefaultFormatter;
/**
* Plugin extends the 'text_default' formatter.
*
* @FieldFormatter(
* id = "view_mode_selector",
* label = @Translation("Selected view mode name as text"),
* field_types = {
* "view_mode_selector"
* }
* )
*/
class ViewModeSelectorFormatter extends TextDefaultFormatter {
}
Classes
Name | Description |
---|---|
ViewModeSelectorFormatter | Plugin extends the 'text_default' formatter. |