You are here

function blogapi_blogger_xmlrpc in Blog API 8

Returns implemented methods.

Implements hook_xmlrpc().

File

modules/blogapi_blogger/blogapi_blogger.module, line 19

Code

function blogapi_blogger_xmlrpc() {
  $manager = \Drupal::service('plugin.manager.blogapi');
  $plugin = $manager
    ->createInstance('BloggerProvider');
  return $plugin
    ->getMethods();
}