public function PathautoPattern::getSelectionCondition in Pathauto 8
Gets selection criteria by condition id.
Parameters
string $condition_id: The id of the condition.
Return value
\Drupal\Core\Condition\ConditionInterface
Overrides PathautoPatternInterface::getSelectionCondition
File
- src/
Entity/ PathautoPattern.php, line 314
Class
- PathautoPattern
- Defines the Pathauto pattern entity.
Namespace
Drupal\pathauto\EntityCode
public function getSelectionCondition($condition_id) {
return $this
->getSelectionConditions()
->get($condition_id);
}