@@ 41-50 (lines=10) @@ | ||
38 | /** |
|
39 | * {@inheritdoc} |
|
40 | */ |
|
41 | public function getDefinition() { |
|
42 | $definition = $this->getPluginDefinition(); |
|
43 | ||
44 | return [ |
|
45 | 'type' => $this->buildType($definition), |
|
46 | 'description' => $this->buildDescription($definition), |
|
47 | 'args' => $this->buildArguments($definition), |
|
48 | 'deprecationReason' => $this->buildDeprecationReason($definition), |
|
49 | ] + $this->buildCacheMetadata($definition); |
|
50 | } |
|
51 | } |
|
52 |
@@ 50-59 (lines=10) @@ | ||
47 | /** |
|
48 | * {@inheritdoc} |
|
49 | */ |
|
50 | public function getDefinition() { |
|
51 | $definition = $this->getPluginDefinition(); |
|
52 | ||
53 | return [ |
|
54 | 'type' => $this->buildType($definition), |
|
55 | 'description' => $this->buildDescription($definition), |
|
56 | 'args' => $this->buildArguments($definition), |
|
57 | 'deprecationReason' => $this->buildDeprecationReason($definition), |
|
58 | ] + $this->buildCacheMetadata($definition); |
|
59 | } |
|
60 | ||
61 | /** |
|
62 | * {@inheritdoc} |