WidgetSelectorConfig::getFormId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Drupal\entity_browser\Form;
4
5
use Drupal\entity_browser\EntityBrowserInterface;
6
7
/**
8
 * Widget selector configuration step in entity browser form wizard.
9
 */
10
class WidgetSelectorConfig extends PluginConfigFormBase {
11
12
  /**
13
   * {@inheritdoc}
14
   */
15
  public function getFormId() {
16
    return 'entity_browser_widget_selector_config_form';
17
  }
18
19
  /**
20
   * {@inheritdoc}
21
   */
22
  public function getPlugin(EntityBrowserInterface $entity_browser) {
23
    return $entity_browser->getWidgetSelector();
24
  }
25
26
}
27