You are here

public function PageVariantInterface::getSelectionCondition in Page Manager 8

Same name and namespace in other branches
  1. 8.4 src/PageVariantInterface.php \Drupal\page_manager\PageVariantInterface::getSelectionCondition()

Gets selection criteria by condition id.

Parameters

string $condition_id: The ID of the condition.

Return value

\Drupal\Core\Condition\ConditionInterface

1 method overrides PageVariantInterface::getSelectionCondition()
PageVariant::getSelectionCondition in src/Entity/PageVariant.php
Gets selection criteria by condition id.

File

src/PageVariantInterface.php, line 123
Contains Drupal\page_manager\PageVariantInterface.

Class

PageVariantInterface
Provides an interface defining a PageVariant entity.

Namespace

Drupal\page_manager

Code

public function getSelectionCondition($condition_id);