You are here

interface ViewModeInterface in Paragraph View Mode 8

Same name and namespace in other branches
  1. 2.x src/ViewModeInterface.php \Drupal\paragraph_view_mode\ViewModeInterface

Provides interfacie for paragraph view modes.

@package Drupal\paragraph_view_mode

Hierarchy

Expanded class hierarchy of ViewModeInterface

All classes that implement ViewModeInterface

2 files declare their use of ViewModeInterface
ParagraphViewModeWidget.php in src/Plugin/Field/FieldWidget/ParagraphViewModeWidget.php
paragraph_view_mode.module in ./paragraph_view_mode.module
Contains paragraphs_view_mode.module functions.

File

src/ViewModeInterface.php, line 10

Namespace

Drupal\paragraph_view_mode
View source
interface ViewModeInterface {

  /**
   * Default view mode.
   */
  const DEFAULT = 'default';

  /**
   * Special view mode used as a preview.
   */
  const PREVIEW = 'preview';

}

Members

Namesort descending Modifiers Type Description Overrides
ViewModeInterface::DEFAULT constant Default view mode.
ViewModeInterface::PREVIEW constant Special view mode used as a preview.