interface ViewModeInterface in Paragraph View Mode 2.x
Same name and namespace in other branches
- 8 src/ViewModeInterface.php \Drupal\paragraph_view_mode\ViewModeInterface
Provides interfacie for paragraph view modes.
@package Drupal\paragraph_view_mode
Hierarchy
- interface \Drupal\paragraph_view_mode\ViewModeInterface
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_modeView source
interface ViewModeInterface {
/**
* Default view mode.
*/
const DEFAULT = 'default';
/**
* Special view mode used as a preview.
*/
const PREVIEW = 'preview';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ViewModeInterface:: |
constant | Default view mode. | ||
ViewModeInterface:: |
constant | Special view mode used as a preview. |