You are here

private static function ConfigEntityProvider::getSchemes in oEmbed 8

Parameters

$providers:

Return value

array

2 calls to ConfigEntityProvider::getSchemes()
ConfigEntityProvider::request in src/Provider/ConfigEntityProvider.php
ConfigEntityProvider::supports in src/Provider/ConfigEntityProvider.php
Returns whether this class supports the given url.

File

src/Provider/ConfigEntityProvider.php, line 85

Class

ConfigEntityProvider

Namespace

Drupal\oembed\Provider

Code

private static function getSchemes($providers) {
  return array_map(function (Provider $provider) {
    return $provider
      ->getScheme();
  }, $providers);
}