@@ 48-57 (lines=10) @@ | ||
45 | /** |
|
46 | * {@inheritdoc} |
|
47 | */ |
|
48 | public function getDefinition() { |
|
49 | $definition = $this->getPluginDefinition(); |
|
50 | ||
51 | return [ |
|
52 | 'type' => $this->buildType($definition), |
|
53 | 'description' => $this->buildDescription($definition), |
|
54 | 'args' => $this->buildArguments($definition), |
|
55 | 'deprecationReason' => $this->buildDeprecationReason($definition), |
|
56 | ] + $this->buildCacheMetadata($definition); |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * {@inheritdoc} |
@@ 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 |