WorkflowTypeBase::VALID_ID_REGEX
Same name in other branches
- 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::VALID_ID_REGEX
- 8.9.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::VALID_ID_REGEX
- 11.x 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_]+/';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.