<?php

namespace Drupal\node_view_mode\Plugin\Field\FieldType;

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

/**
 * Defines a 'node_view_mode' entity field type.
 *
 * @FieldType(
 *   id = "node_view_mode",
 *   label = @Translation("Node view mode"),
 *   description = @Translation("A field containing node view mode value"),
 *   category = "manage_display",
 *   default_widget = "node_view_mode",
 *   default_formatter = "node_view_mode"
 * )
 */
class NodeViewModeItem extends StringItem {}
