Skip to content
Snippets Groups Projects

Issue #3430097: Minimal changes required for a D11 compatible release

Closed Issue #3430097: Minimal changes required for a D11 compatible release
All threads resolved!
Closed znerol requested to merge issue/embed-3430097:3430097-d11-minimal into 8.x-1.x
All threads resolved!
Files
6
@@ -10,6 +10,7 @@ use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Utility\Error;
use Drupal\embed\EmbedType\EmbedTypeManager;
use Drupal\embed\Entity\EmbedButton;
use Symfony\Component\DependencyInjection\ContainerInterface;
@@ -114,7 +115,7 @@ class EmbedButtonForm extends EntityForm {
}
catch (PluginNotFoundException $exception) {
$this->messenger()->addError($exception->getMessage());
watchdog_exception('embed', $exception);
Error::logException($this->logger('embed'), $exception);
$form['type_id']['#disabled'] = FALSE;
}
Loading