Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELA-1049: fix php 8.2 #210

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/FacetManipulationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Drupal\oe_list_pages;

use Drupal\Core\Entity\EntityFieldManager;
use Drupal\Core\Entity\EntityFieldManagerInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\facets\FacetInterface;
Expand All @@ -13,6 +14,13 @@
*/
trait FacetManipulationTrait {

/**
* The entity field manager
*
* @var \Drupal\Core\Entity\EntityFieldManager
*/
protected EntityFieldManagerInterface $entityFieldManager;

/**
* Processes and returns the results of a given facet.
*
Expand Down
7 changes: 0 additions & 7 deletions src/MultiSelectFilterFieldPluginBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ abstract class MultiSelectFilterFieldPluginBase extends PluginBase implements Co

use FacetManipulationTrait;

/**
* The entity field manager.
*
* @var \Drupal\Core\Entity\EntityFieldManagerInterface
*/
protected $entityFieldManager;

/**
* {@inheritdoc}
*/
Expand Down
7 changes: 0 additions & 7 deletions src/MultiselectFilterFieldPluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ class MultiselectFilterFieldPluginManager extends DefaultPluginManager {

use FacetManipulationTrait;

/**
* The entity field manager.
*
* @var \Drupal\Core\Entity\EntityFieldManagerInterface
*/
protected EntityFieldManagerInterface $entityFieldManager;

/**
* Constructs a new multiselect filter field plugin manager.
*
Expand Down
7 changes: 0 additions & 7 deletions src/Plugin/facets/widget/MultiselectWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ class MultiselectWidget extends ListPagesWidgetBase implements ContainerFactoryP
*/
protected $entityTypeManager;

/**
* The entity field manager.
*
* @var \Drupal\Core\Entity\EntityFieldManagerInterface
*/
protected $entityFieldManager;

/**
* The multiselect filter field plugin manager.
*
Expand Down