You are here

ViewModeSelectorFormatter.php in Opigno certificate 3.x

Same filename and directory in other branches
  1. 8 src/Plugin/Field/FieldFormatter/ViewModeSelectorFormatter.php

File

src/Plugin/Field/FieldFormatter/ViewModeSelectorFormatter.php
View 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

Namesort descending Description
ViewModeSelectorFormatter Plugin extends the 'text_default' formatter.