public function ViewmodepagePatternInterface::addSelectionCondition in View Mode Page 3.2.x
Same name and namespace in other branches
- 8.3 src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::addSelectionCondition()
- 4.0.x src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::addSelectionCondition()
Adds selection criteria.
Parameters
array $configuration: Configuration of the selection criteria.
Return value
string The condition id of the new criteria.
1 method overrides ViewmodepagePatternInterface::addSelectionCondition()
- ViewmodepagePattern::addSelectionCondition in src/
Entity/ ViewmodepagePattern.php - Adds selection criteria.
File
- src/
ViewmodepagePatternInterface.php, line 176
Class
- ViewmodepagePatternInterface
- Provides an interface for defining Viewmodepage pattern entities.
Namespace
Drupal\view_mode_pageCode
public function addSelectionCondition(array $configuration);