You are here

protected function ThunderSchema::getExtensions in Thunder 6.2.x

File

modules/thunder_gqls/src/Plugin/GraphQL/Schema/ThunderSchema.php, line 86

Class

ThunderSchema
Tha base schema for Thunder composable schema.

Namespace

Drupal\thunder_gqls\Plugin\GraphQL\Schema

Code

protected function getExtensions() {
  return array_map(function ($id) {
    return $this->extensionManager
      ->createInstance($id);
  }, array_unique(array_filter($this
    ->getConfiguration()['extensions']) + static::REQUIRED_EXTENSIONS));
}