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}

Paths

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.