public function MefibsExposedFilterBlock::getDerivativeDefinition in MEFIBS - More exposed forms in blocks 8
Implements \Drupal\Component\Plugin\Derivative\DerivativeInterface::getDerivativeDefinition().
File
- lib/
Drupal/ mefibs/ Plugin/ Derivative/ MefibsExposedFilterBlock.php, line 68 - Contains \Drupal\views\Plugin\Derivative\ViewsExposedFilterBlock.
Class
- MefibsExposedFilterBlock
- Provides block plugin definitions for all Views exposed filters.
Namespace
Drupal\mefibs\Plugin\DerivativeCode
public function getDerivativeDefinition($derivative_id, array $base_plugin_definition) {
if (!empty($this->derivatives) && !empty($this->derivatives[$derivative_id])) {
return $this->derivatives[$derivative_id];
}
$this
->getDerivativeDefinitions($base_plugin_definition);
return $this->derivatives[$derivative_id];
}