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 |
|||||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Drupal\display_builder; |
| 6 | |
| 7 | use Drupal\Core\Config\Entity\ConfigEntityInterface; |
| 8 | |
| 9 | /** |
| 10 | * Provides an interface defining a display builder entity type. |
| 11 | */ |
| 12 | interface ProfileInterface extends ConfigEntityInterface { |
| 13 | |
| 14 | /** |
| 15 | * Get enabled islands for this config. |
| 16 | * |
| 17 | * @return array |
| 18 | * The islands as island ID => weight. |
| 19 | */ |
| 20 | public function getEnabledIslands(): array; |
| 21 | |
| 22 | /** |
| 23 | * Get configuration of all islands. |
| 24 | * |
| 25 | * @return array |
| 26 | * Configuration keyed by island ID. |
| 27 | */ |
| 28 | public function getIslandConfigurations(): array; |
| 29 | |
| 30 | /** |
| 31 | * Gets configuration for an island. |
| 32 | * |
| 33 | * @param string $island_id |
| 34 | * The island ID. |
| 35 | * |
| 36 | * @return array |
| 37 | * The island configuration. |
| 38 | */ |
| 39 | public function getIslandConfiguration(string $island_id): array; |
| 40 | |
| 41 | /** |
| 42 | * Set configuration for an island. |
| 43 | * |
| 44 | * @param string $island_id |
| 45 | * The island ID. |
| 46 | * @param array $configuration |
| 47 | * The island configuration. |
| 48 | */ |
| 49 | public function setIslandConfiguration(string $island_id, array $configuration = []): void; |
| 50 | |
| 51 | /** |
| 52 | * Returns the machine-readable permission name for the display builder. |
| 53 | * |
| 54 | * @return string |
| 55 | * The machine-readable permission name. |
| 56 | */ |
| 57 | public function getPermissionName(): string; |
| 58 | |
| 59 | /** |
| 60 | * Get roles allowed to use the Display builder. |
| 61 | * |
| 62 | * @return array |
| 63 | * List of roles. |
| 64 | */ |
| 65 | public function getRoles(): array; |
| 66 | |
| 67 | /** |
| 68 | * Is debug mode activated? |
| 69 | * |
| 70 | * @return bool |
| 71 | * Activated or not. |
| 72 | */ |
| 73 | public function isDebugModeActivated(): bool; |
| 74 | |
| 75 | } |
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.