You are here

protected function BusinessRulesViewsSelection::getHandlerSettings in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Plugin/EntityReferenceSelection/BusinessRulesViewsSelection.php \Drupal\business_rules\Plugin\EntityReferenceSelection\BusinessRulesViewsSelection::getHandlerSettings()

Get the handler settings.

Return value

array The handler settings.

6 calls to BusinessRulesViewsSelection::getHandlerSettings()
BusinessRulesViewsSelection::buildConfigurationForm in src/Plugin/EntityReferenceSelection/BusinessRulesViewsSelection.php
Form constructor.
BusinessRulesViewsSelection::getParentFieldValue in src/Plugin/EntityReferenceSelection/BusinessRulesViewsSelection.php
Get the parent field value.
BusinessRulesViewsSelection::getReferenceableEntities in src/Plugin/EntityReferenceSelection/BusinessRulesViewsSelection.php
Gets the list of referenceable entities.
BusinessRulesViewsSelection::getValidIds in src/Plugin/EntityReferenceSelection/BusinessRulesViewsSelection.php
Return valid ids for validation.
BusinessRulesViewsSelection::initializeView in src/Plugin/EntityReferenceSelection/BusinessRulesViewsSelection.php
Initializes a view.

... See full list

File

src/Plugin/EntityReferenceSelection/BusinessRulesViewsSelection.php, line 555

Class

BusinessRulesViewsSelection
Plugin override of the 'selection' entity_reference.

Namespace

Drupal\business_rules\Plugin\EntityReferenceSelection

Code

protected function getHandlerSettings() {

  // The ['handler_settings'] was removed on Drupal 8.4. the code bellow is
  // kept for back compatibility. @see https://www.drupal.org/node/2870971
  if (isset($this->configuration['handler_settings'])) {
    return $this->configuration['handler_settings'];
  }
  return $this->configuration;
}