Skip to content
Snippets Groups Projects

3485084-deprecate-handlerbase-defineextraoptions: removed defineExtraOptions...

@@ -396,8 +396,16 @@ public function hasExtraOptions() {
*
* @param array $option
* An array of options.
*
* @deprecated in drupal:11.2.0 and is removed from drupal:12.0.0.
* This method is no longer used by Drupal core. There is no
* replacement.
*
* @see https://www.drupal.org/node/3486781
*/
public function defineExtraOptions(&$option) {}
public function defineExtraOptions(&$option) {
@trigger_error('defineExtraOptions() is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. This method is no longer in use and should not be called. See https://www.drupal.org/node/3486781', E_USER_DEPRECATED);
}
/**
* Provide a form for setting options.
Loading