Skip to content
Snippets Groups Projects

Issue #3490042 by tr: Typing updates

Open Tim Rohaly requested to merge issue/rules-3490042:3490042-typing-updates into 4.0.x
Files
7
@@ -47,7 +47,7 @@ interface RulesConfigurableEventHandlerInterface extends RulesEventHandlerInterf
/**
* Provides a human readable summary of the event's configuration.
*
* @return string|\Drupal\Component\Render\MarkupInterface
* @return string
* The human readable summary.
*/
public function summary();
@@ -63,7 +63,7 @@ interface RulesConfigurableEventHandlerInterface extends RulesEventHandlerInterf
* @return array
* The form structure.
*/
public function buildConfigurationForm(array $form, FormStateInterface $form_state);
public function buildConfigurationForm(array $form, FormStateInterface $form_state): array;
/**
* Extract the form values and update the event configuration.
@@ -91,9 +91,9 @@ interface RulesConfigurableEventHandlerInterface extends RulesEventHandlerInterf
* uses for the configured event is {EVENT_NAME}--{SUFFIX}.
*
* @return string|false
* The suffix string, for FALSE if no suffix should be appended.
* The suffix string, or FALSE if no suffix should be appended.
*/
public function getEventNameSuffix();
public function getEventNameSuffix(): string|false;
/**
* Refines provided context definitions based upon plugin configuration.
Loading