You are here

public function ViewmodepagePatternInterface::getSelectionCondition in View Mode Page 8.3

Same name and namespace in other branches
  1. 4.0.x src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::getSelectionCondition()
  2. 3.2.x src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::getSelectionCondition()

Gets selection criteria by condition id.

Parameters

string $condition_id: The id of the condition.

Return value

\Drupal\Core\Condition\ConditionInterface Returns the condition interface

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

File

src/ViewmodepagePatternInterface.php, line 187

Class

ViewmodepagePatternInterface
Provides an interface for defining Viewmodepage pattern entities.

Namespace

Drupal\view_mode_page

Code

public function getSelectionCondition($condition_id);