You are here

public function ViewmodepagePattern::getSelectionLogic in View Mode Page 3.2.x

Same name and namespace in other branches
  1. 8.3 src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::getSelectionLogic()
  2. 4.0.x src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::getSelectionLogic()

Gets the selection logic used by the criteria (ie. "and" or "or").

Return value

string Either "and" or "or"; represents how the selection criteria are combined.

Overrides ViewmodepagePatternInterface::getSelectionLogic

1 call to ViewmodepagePattern::getSelectionLogic()
ViewmodepagePattern::applies in src/Entity/ViewmodepagePattern.php
Determines if this pattern can apply a given object.

File

src/Entity/ViewmodepagePattern.php, line 316

Class

ViewmodepagePattern
Defines the Viewmodepage pattern entity.

Namespace

Drupal\view_mode_page\Entity

Code

public function getSelectionLogic() {
  return $this->selection_logic;
}