Loading src/Entity/Facet.php +2 −2 Original line number Diff line number Diff line Loading @@ -428,7 +428,7 @@ class Facet extends ConfigEntityBase implements FacetInterface { * The loaded processors, keyed by processor ID. */ protected function loadProcessors() { if (is_array($this->processors)) { if (isset($this->processors) && is_array($this->processors)) { return $this->processors; } Loading Loading @@ -726,7 +726,7 @@ class Facet extends ConfigEntityBase implements FacetInterface { * {@inheritdoc} */ public function getFacetSource() { if (is_null($this->facet_source_instance) && $this->facet_source_id) { if (!isset($this->facet_source_instance) && $this->facet_source_id) { /** @var \Drupal\facets\FacetSource\FacetSourcePluginManager $facet_source_plugin_manager */ $facet_source_plugin_manager = \Drupal::service('plugin.manager.facets.facet_source'); if (!$facet_source_plugin_manager->hasDefinition($this->facet_source_id)) { Loading Loading
src/Entity/Facet.php +2 −2 Original line number Diff line number Diff line Loading @@ -428,7 +428,7 @@ class Facet extends ConfigEntityBase implements FacetInterface { * The loaded processors, keyed by processor ID. */ protected function loadProcessors() { if (is_array($this->processors)) { if (isset($this->processors) && is_array($this->processors)) { return $this->processors; } Loading Loading @@ -726,7 +726,7 @@ class Facet extends ConfigEntityBase implements FacetInterface { * {@inheritdoc} */ public function getFacetSource() { if (is_null($this->facet_source_instance) && $this->facet_source_id) { if (!isset($this->facet_source_instance) && $this->facet_source_id) { /** @var \Drupal\facets\FacetSource\FacetSourcePluginManager $facet_source_plugin_manager */ $facet_source_plugin_manager = \Drupal::service('plugin.manager.facets.facet_source'); if (!$facet_source_plugin_manager->hasDefinition($this->facet_source_id)) { Loading