public function RabbitHoleBehaviorPluginInterface::settingsForm in Rabbit Hole 8
Same name and namespace in other branches
- 2.x src/Plugin/RabbitHoleBehaviorPluginInterface.php \Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginInterface::settingsForm()
Return a settings form for the rabbit hole action.
Parameters
array &$form: The form array to modify.
\Drupal\Core\Form\FormStateInterface $form_state: The form state object.
string $form_id: The form ID.
\Drupal\Core\Entity\EntityInterface|null $entity: The entity used by the form.
bool $entity_is_bundle: Whether the entity is a bundle.
\Drupal\Core\Config\ImmutableConfig|null $bundle_settings: The behavior settings for the bundle of the entity (or the entity itself, if it is a bundle).
1 method overrides RabbitHoleBehaviorPluginInterface::settingsForm()
- RabbitHoleBehaviorPluginBase::settingsForm in src/
Plugin/ RabbitHoleBehaviorPluginBase.php - Return a settings form for the rabbit hole action.
File
- src/
Plugin/ RabbitHoleBehaviorPluginInterface.php, line 44
Class
- RabbitHoleBehaviorPluginInterface
- Defines an interface for Rabbit hole behavior plugin plugins.
Namespace
Drupal\rabbit_hole\PluginCode
public function settingsForm(array &$form, FormStateInterface $form_state, $form_id, EntityInterface $entity = NULL, $entity_is_bundle = FALSE, ImmutableConfig $bundle_settings = NULL);