public function ViewmodepagePatternInterface::getSelectionCondition in View Mode Page 4.0.x
Same name and namespace in other branches
- 8.3 src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::getSelectionCondition()
- 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_pageCode
public function getSelectionCondition($condition_id);