diff --git a/src/Entity/Facet.php b/src/Entity/Facet.php index 5330a54..88c71bd 100644 --- a/src/Entity/Facet.php +++ b/src/Entity/Facet.php @@ -398,7 +398,7 @@ class Facet extends ConfigEntityBase implements FacetInterface { } // We didn't have a facet source config entity yet for this facet source - // plugin, so we create on on the fly; trough magic. + // plugin, so we create it on the fly. $facet_source = new FacetSource( [ 'id' => $source_id, diff --git a/src/Form/FacetSourceEditForm.php b/src/Form/FacetSourceEditForm.php index 56facd5..067a39f 100644 --- a/src/Form/FacetSourceEditForm.php +++ b/src/Form/FacetSourceEditForm.php @@ -38,7 +38,7 @@ class FacetSourceEditForm extends EntityForm { else { // We didn't have a facet source config entity yet for this facet source - // plugin, so we create on on the fly; trough magic. + // plugin, so we create it on the fly. $facet_source = new FacetSource( [ 'id' => $source_id, @@ -50,8 +50,6 @@ class FacetSourceEditForm extends EntityForm { $this->setEntity($facet_source); } - // Set the module handler. This is usually handled for use, but because of - // the overridden __construct, we have to do this explicitly. $this->setModuleHandler(\Drupal::moduleHandler()); }