You are here

class ProviderBase in Blog API 8

Class ProviderBase.

@package Drupal\blogapi

The base class that should be used for creating BlogAPI providers.

Hierarchy

Expanded class hierarchy of ProviderBase

3 files declare their use of ProviderBase
BloggerProvider.php in modules/blogapi_blogger/src/Plugin/BlogapiProvider/BloggerProvider.php
MetaweblogProvider.php in modules/blogapi_metaweblog/src/Plugin/BlogapiProvider/MetaweblogProvider.php
MovabletypeProvider.php in modules/blogapi_movabletype/src/Plugin/BlogapiProvider/MovabletypeProvider.php

File

src/ProviderBase.php, line 14

Namespace

Drupal\blogapi
View source
class ProviderBase extends PluginBase implements BlogapiProviderInterface {

  /**
   * Returns all implemented methods.
   *
   * @return array
   *   An array of implemented methods.
   */
  public static function getMethods() {
    return [];
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.
PluginBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. 92
ProviderBase::getMethods public static function Returns all implemented methods. Overrides BlogapiProviderInterface::getMethods 3