Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

Files
4
@@ -114,7 +114,7 @@ class EmbedButtonForm extends EntityForm {
}
catch (PluginNotFoundException $exception) {
$this->messenger()->addError($exception->getMessage());
watchdog_exception('embed', $exception);
\Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => \Drupal\Core\Utility\Error::logException(\Drupal::logger('embed'), $exception), fn() => watchdog_exception('embed', $exception));
$form['type_id']['#disabled'] = FALSE;
}
Loading