You are here

public function ViewmodepagePattern::getViewMode in View Mode Page 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::getViewMode()
  2. 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\Entity

Code

public function getViewMode() {
  return $this->view_mode;
}