public function ViewmodepagePattern::getViewMode in View Mode Page 8.3
Same name and namespace in other branches
- 4.0.x src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::getViewMode()
- 3.2.x src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::getViewMode()
Gets the type of view_mode.
Return value
string Returns the type of view_mode.
Overrides ViewmodepagePatternInterface::getViewMode
1 call to ViewmodepagePattern::getViewMode()
- ViewmodepagePattern::getViewModeLabel in src/
Entity/ ViewmodepagePattern.php - Gets the label of view_mode.
File
- src/
Entity/ ViewmodepagePattern.php, line 227
Class
- ViewmodepagePattern
- Defines the Viewmodepage pattern entity.
Namespace
Drupal\view_mode_page\EntityCode
public function getViewMode() {
return $this->view_mode;
}