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_entity_view\Entity;
6
7use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
8
9/**
10 * Provides an interface for entity displays that have Display Builder.
11 */
12interface DisplayBuilderEntityDisplayInterface extends EntityViewDisplayInterface {
13
14  /**
15   * Determines if Display Builder is enabled.
16   *
17   * @return bool
18   *   TRUE if Display Builder is enabled, FALSE otherwise.
19   */
20  public function isDisplayBuilderEnabled();
21
22  /**
23   * Initial import from existing data.
24   *
25   * @return array
26   *   List of UI Patterns sources.
27   *
28   * @see EntityView::initInstanceIfMissing()
29   */
30  public function initialImport(): array;
31
32}

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.