public function RabbitHoleBehaviorPluginBase::alterExtraFields in Rabbit Hole 8
Same name and namespace in other branches
- 2.x src/Plugin/RabbitHoleBehaviorPluginBase.php \Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginBase::alterExtraFields()
Add to or adjust the fields added by rabbit hole.
Parameters
array $fields: The array of fields to be altered.
Overrides RabbitHoleBehaviorPluginInterface::alterExtraFields
1 method overrides RabbitHoleBehaviorPluginBase::alterExtraFields()
- PageRedirect::alterExtraFields in src/
Plugin/ RabbitHoleBehaviorPlugin/ PageRedirect.php - Add to or adjust the fields added by rabbit hole.
File
- src/
Plugin/ RabbitHoleBehaviorPluginBase.php, line 46
Class
- RabbitHoleBehaviorPluginBase
- Base class for Rabbit hole behavior plugin plugins.
Namespace
Drupal\rabbit_hole\PluginCode
public function alterExtraFields(array &$fields) {
// Don't change the fields by default.
}