function blogapi_metaweblog_xmlrpc in Blog API 8
Returns implemented methods.
Implements hook_xmlrpc().
File
- modules/
blogapi_metaweblog/ blogapi_metaweblog.module, line 15 - Module file for blogapi_blogger.
Code
function blogapi_metaweblog_xmlrpc() {
$manager = \Drupal::service('plugin.manager.blogapi');
$plugin = $manager
->createInstance('MetaweblogProvider');
return $plugin
->getMethods();
}