Completed
Push — 8.x-1.x ( d0852f...55caf8 )
by Janez
02:42
created

Standalone::setUuid()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * Contains \Drupal\entity_browser\Plugin\EntityBrowser\Display\Standalone.
5
 */
6
7
namespace Drupal\entity_browser\Plugin\EntityBrowser\Display;
8
9
use Drupal\entity_browser\DisplayBase;
10
use Drupal\entity_browser\DisplayRouterInterface;
11
12
/**
13
 * Presents entity browser as a standalone form.
14
 *
15
 * @EntityBrowserDisplay(
16
 *   id = "standalone",
17
 *   label = @Translation("Standalone form"),
18
 *   description = @Translation("Displays entity browser as a standalone form."),
19
 *   uses_route = TRUE
20
 * )
21
 */
22
class Standalone extends DisplayBase implements DisplayRouterInterface {
23
24
  /**
25
   * {@inheritdoc}
26
   */
27
  public function displayEntityBrowser() {
28
    // @TODO Implement it.
29
  }
30
31
  /**
32
   * {@inheritdoc}
33
   */
34
  public function selectionCompleted(array $entities) {
35
    // @TODO Implement it.
36
  }
37
38
  /**
39
   * {@inheritdoc}
40
   */
41
  public function path() {
42
    return $this->configuration['path'];
43
  }
44
45
  /**
46
   * {@inheritdoc}
47
   */
48
  public function getUuid() {
49
    return '';
50
  }
51
52
  /**
53
   * {@inheritdoc}
54
   */
55
  public function setUuid($uuid) {
56
    // @TODO Implement it.
57
  }
58
59
}
60