public function PageVariant::getSelectionLogic in Page Manager 8.4
Same name and namespace in other branches
- 8 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 312
Class
- PageVariant
- Defines the page variant entity.
Namespace
Drupal\page_manager\EntityCode
public function getSelectionLogic() {
return $this
->get('selection_logic');
}