1 | <?php |
||
21 | class EntityBrowserWizard extends EntityFormWizardBase { |
||
22 | |||
23 | /** |
||
24 | * @param \Drupal\user\SharedTempStoreFactory $tempstore |
||
25 | * Tempstore Factory for keeping track of values in each step of the |
||
26 | * wizard. |
||
27 | * @param \Drupal\Core\Form\FormBuilderInterface $builder |
||
28 | * The Form Builder. |
||
29 | * @param \Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver |
||
30 | * The class resolver. |
||
31 | * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher |
||
32 | * The event dispatcher. |
||
33 | * @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager |
||
34 | * The entity manager. |
||
35 | * @param $tempstore_id |
||
36 | * The shared temp store factory collection name. |
||
37 | * @param null $machine_name |
||
|
|||
38 | * The SharedTempStore key for our current wizard values. |
||
39 | * @param null $step |
||
40 | * The current active step of the wizard. |
||
41 | */ |
||
42 | public function __construct(SharedTempStoreFactory $tempstore, FormBuilderInterface $builder, ClassResolverInterface $class_resolver, EventDispatcherInterface $event_dispatcher, EntityManagerInterface $entity_manager, RouteMatchInterface $route_match, $tempstore_id, $entity_browser = NULL, $step = 'general') { |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function getNextParameters($cached_values) { |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function getWizardLabel() { |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function getMachineLabel() { |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function getEntityType() { |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | */ |
||
80 | public function exists() { |
||
83 | |||
84 | /** |
||
85 | * {@inheritdoc} |
||
86 | */ |
||
87 | public function getOperations($cached_values) { |
||
111 | |||
112 | } |
||
113 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.