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
3declare(strict_types=1);
4
5namespace Drupal\display_builder;
6
7/**
8 * Interface for renderable alterers.
9 */
10interface RenderableAltererInterface extends IslandInterface {
11
12  /**
13   * Alters the given element with additional data.
14   *
15   * @param array $element
16   *   The element to be altered.
17   * @param array $data
18   *   (Optional) Additional data to be used for alteration.
19   *
20   * @return array
21   *   The altered element.
22   */
23  public function alterElement(array $element, array $data = []): array;
24
25}

Branches

Below are the source code lines that represent each code branch as identified by Xdebug. Please note a branch is not necessarily coterminous with a line, a line may contain multiple branches and therefore show up more than once. Please also be aware that some branches may be implicit rather than explicit, e.g. an if statement always has an else as part of its logical flow even if you didn't write one.