You are here

public function BehaviorService::getBehaviorService in Synonyms 8

Get a synonyms behavior service.

Parameters

string $behavior_service_id: ID of the service to retrieve.

Return value

array Array of information about the behavior service. The array will have the following structure:

File

src/SynonymsService/BehaviorService.php, line 88

Class

BehaviorService
Collect all known synonyms behavior services.

Namespace

Drupal\synonyms\SynonymsService

Code

public function getBehaviorService($behavior_service_id) {
  return isset($this->behaviorServices[$behavior_service_id]) ? $this->behaviorServices[$behavior_service_id] : NULL;
}