You are here

ParagraphViewModeItem.php in Paragraph View Mode 8

Same filename and directory in other branches
  1. 2.x src/Plugin/Field/FieldType/ParagraphViewModeItem.php

File

src/Plugin/Field/FieldType/ParagraphViewModeItem.php
View source
<?php

namespace Drupal\paragraph_view_mode\Plugin\Field\FieldType;

use Drupal\Core\Field\Plugin\Field\FieldType\StringItem;

/**
 * Defines a 'paragraph_view_mode' entity field type.
 *
 * @FieldType(
 *   id = "paragraph_view_mode",
 *   label = @Translation("Paragraph view mode"),
 *   description = @Translation("A field containing paragraph view mode value"),
 *   category = @Translation("Manage display"),
 *   default_widget = "paragraph_view_mode",
 *   default_formatter = "paragraph_view_mode"
 * )
 */
class ParagraphViewModeItem extends StringItem {

}

Classes

Namesort descending Description
ParagraphViewModeItem Defines a 'paragraph_view_mode' entity field type.