constant WorkflowTypeBase::VALID_ID_REGEX in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::VALID_ID_REGEX
A regex for matching a valid state/transition machine name.
File
- core/
modules/ workflows/ src/ Plugin/ WorkflowTypeBase.php, line 26
Class
- WorkflowTypeBase
- A base class for Workflow type plugins.
Namespace
Drupal\workflows\PluginCode
const VALID_ID_REGEX = '/[^a-z0-9_]+/';