You are here

public function PageVariant::getSelectionLogic in Page Manager 8

Same name and namespace in other branches
  1. 8.4 src/Entity/PageVariant.php \Drupal\page_manager\Entity\PageVariant::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 PageVariantInterface::getSelectionLogic

File

src/Entity/PageVariant.php, line 317
Contains Drupal\page_manager\Entity\PageVariant.

Class

PageVariant
Defines the page variant entity.

Namespace

Drupal\page_manager\Entity

Code

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