Completed
Pull Request — 8.x-1.x (#126)
by Janez
02:06
created

EntityBrowserWizardAdd   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRouteName() 0 3 1
1
<?php
2
/**
3
 * @file
4
 * Contains \Drupal\entity_browser\Wizard\EntityBrowserWizardAdd.
5
 */
6
7
namespace Drupal\entity_browser\Wizard;
8
9
/**
10
 * Custom override for create form.
11
 */
12
class EntityBrowserWizardAdd extends EntityBrowserWizard {
13
14
  /**
15
   * {@inheritdoc}
16
   */
17
  public function getRouteName() {
18
    return 'entity.entity_browser.edit_form';
19
  }
20
21
}
22