public function BlogapiCommunicator::getMethodImplementations in Blog API 8
Returns implemented BlogAPI provider plugins.
Return value
array Returns an array of available API calls.
File
- src/
BlogapiCommunicator.php, line 55
Class
- BlogapiCommunicator
- Class BlogapiCommunicator.
Namespace
Drupal\blogapiCode
public function getMethodImplementations() {
$plugins = $this->pluginManager
->getDefinitions();
$implementations = array();
foreach ($plugins as $plugin) {
$value = $this->pluginManager
->invoke($plugin['provider'], 'xmlrpc');
if (isset($value[0])) {
$implementations[] = $value[0];
}
}
return $implementations;
}