| @@ 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 | ||
| @@ 92-102 (lines=11) @@ | ||
| 89 | /** |
|
| 90 | * {@inheritdoc} |
|
| 91 | */ |
|
| 92 | public function getDefinition() { |
|
| 93 | $definition = $this->getPluginDefinition(); |
|
| 94 | ||
| 95 | return [ |
|
| 96 | 'type' => $this->buildType($definition), |
|
| 97 | 'description' => $this->buildDescription($definition), |
|
| 98 | 'args' => $this->buildArguments($definition), |
|
| 99 | 'deprecationReason' => $this->buildDeprecationReason($definition), |
|
| 100 | 'contexts' => $this->buildCacheContexts($definition), |
|
| 101 | ]; |
|
| 102 | } |
|
| 103 | ||
| 104 | /** |
|
| 105 | * {@inheritdoc} |
|