Commit c0d37545 authored by Floyd Mann's avatar Floyd Mann Committed by Adriano
Browse files

Issue #3316945 by floydm: Notice: Undefined index: type in line 45 of...

Issue #3316945 by floydm: Notice: Undefined index: type in line 45 of pluginformalter/src/Plugin/InlineEntityFormAlterManager.php
parent a812f9ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class InlineEntityFormAlterManager extends DefaultPluginManager {
  public function getInstance(array $options) {
    $plugins = [];
    foreach ($this->getDefinitions() as $plugin_id => $definition) {
      if (empty($options) || ($options['type'] !== $definition['type'])) {
      if (empty($options) || (isset($definition['type']) && $options['type'] !== $definition['type'])) {
        continue;
      }