Code Coverage
 
Lines
Branches
Paths
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 7
n/a
0 / 0
n/a
0 / 0
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
ViewAttachmentAfterSource
0.00% covered (danger)
0.00%
0 / 1
n/a
0 / 0
n/a
0 / 0
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 setVariableId
0.00% covered (danger)
0.00%
0 / 1
n/a
0 / 0
n/a
0 / 0
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3declare(strict_types=1);
4
5namespace Drupal\display_builder_views\Plugin\UiPatterns\Source;
6
7use Drupal\Core\StringTranslation\TranslatableMarkup;
8use Drupal\display_builder_views\Plugin\ViewsUiPatternsSourceBase;
9use Drupal\ui_patterns\Attribute\Source;
10
11/**
12 * Plugin implementation of the source for views.
13 */
14#[Source(
15  id: 'view_attachment_after',
16  label: new TranslatableMarkup('[View] Attachment after'),
17  context_requirements: ['views:style'],
18  prop_types: ['slot'],
19  tags: ['views'],
20)]
21class ViewAttachmentAfterSource extends ViewsUiPatternsSourceBase {
22
23  /**
24   * {@inheritdoc}
25   */
26  public static function setVariableId(): string {
27    return 'attachment_after';
28  }
29
30}

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.