Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| DisplayBuilderEvents | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Drupal\display_builder\Event; |
| 6 | |
| 7 | /** |
| 8 | * Defines events for the display builder. |
| 9 | * |
| 10 | * @see \Drupal\display_builder\DisplayBuilderEvent |
| 11 | */ |
| 12 | final class DisplayBuilderEvents { |
| 13 | |
| 14 | public const ON_UPDATE = 'onUpdate'; |
| 15 | |
| 16 | public const ON_ATTACH_TO_ROOT = 'onAttachToRoot'; |
| 17 | |
| 18 | public const ON_ATTACH_TO_SLOT = 'onAttachToSlot'; |
| 19 | |
| 20 | public const ON_MOVE = 'onMove'; |
| 21 | |
| 22 | public const ON_ACTIVE = 'onActive'; |
| 23 | |
| 24 | public const ON_DELETE = 'onDelete'; |
| 25 | |
| 26 | public const ON_HISTORY_CHANGE = 'onHistoryChange'; |
| 27 | |
| 28 | public const ON_PRESET_SAVE = 'onPresetSave'; |
| 29 | |
| 30 | public const ON_SAVE = 'onSave'; |
| 31 | |
| 32 | } |
Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not
necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once.
Please also be aware that some paths may include implicit rather than explicit branches, e.g. an if statement
always has an else as part of its logical flow even if you didn't write one.