| @@ 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 | ||
| @@ 71-81 (lines=11) @@ | ||
| 68 | /** |
|
| 69 | * {@inheritdoc} |
|
| 70 | */ |
|
| 71 | public function getDefinition() { |
|
| 72 | $definition = $this->getPluginDefinition(); |
|
| 73 | ||
| 74 | return [ |
|
| 75 | 'type' => $this->buildType($definition), |
|
| 76 | 'description' => $this->buildDescription($definition), |
|
| 77 | 'args' => $this->buildArguments($definition), |
|
| 78 | 'deprecationReason' => $this->buildDeprecationReason($definition), |
|
| 79 | 'contexts' => $this->buildCacheContexts($definition), |
|
| 80 | ]; |
|
| 81 | } |
|
| 82 | ||
| 83 | /** |
|
| 84 | * {@inheritdoc} |
|