Switch Case Default¶
Version v1
Purpose¶
Demonstrate how typical switch-case PHP constructors could be simulated in ECA models - similar to if-elsif-else statements.
The model is similar to what you would normally do in PHP like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
Dependencies¶
- config
- node.type.article
- module
- eca_content
Events¶
- Presave content entity (Content: Artikel)
Changelog¶
v1
-
Initial version
Last update:
February 6, 2023 14:33:39