@@ 39-48 (lines=10) @@ | ||
36 | /** |
|
37 | * {@inheritdoc} |
|
38 | */ |
|
39 | public function getDefinition() { |
|
40 | $definition = $this->getPluginDefinition(); |
|
41 | ||
42 | return [ |
|
43 | 'type' => $this->buildType($definition), |
|
44 | 'description' => $this->buildDescription($definition), |
|
45 | 'args' => $this->buildArguments($definition), |
|
46 | 'deprecationReason' => $this->buildDeprecationReason($definition), |
|
47 | ]; |
|
48 | } |
|
49 | } |
|
50 |
@@ 72-82 (lines=11) @@ | ||
69 | /** |
|
70 | * {@inheritdoc} |
|
71 | */ |
|
72 | public function getDefinition() { |
|
73 | $definition = $this->getPluginDefinition(); |
|
74 | ||
75 | return [ |
|
76 | 'type' => $this->buildType($definition), |
|
77 | 'description' => $this->buildDescription($definition), |
|
78 | 'args' => $this->buildArguments($definition), |
|
79 | 'deprecationReason' => $this->buildDeprecationReason($definition), |
|
80 | 'contexts' => $this->buildCacheContexts($definition), |
|
81 | ]; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * {@inheritdoc} |