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\display_builder\ProfileInterface;
8
9/**
10 * Provides method to know if Display Builder is enabled.
11 */
12interface DisplayBuilderOverridableInterface {
13
14  /**
15   * Determines if the display allows custom overrides.
16   *
17   * @return bool
18   *   TRUE if custom overrides are allowed, FALSE otherwise.
19   */
20  public function isDisplayBuilderOverridable(): bool;
21
22  /**
23   * Returns the field name used to store overridden displays.
24   *
25   * @return string|null
26   *   The override field if available.
27   */
28  public function getDisplayBuilderOverrideField(): ?string;
29
30  /**
31   * Get display builder config entity for overridden view mode.
32   *
33   * @return ?ProfileInterface
34   *   The display builder config entity.
35   */
36  public function getDisplayBuilderOverrideProfile(): ?ProfileInterface;
37
38}

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.