class ProviderBase in Blog API 8
Class ProviderBase.
@package Drupal\blogapi
The base class that should be used for creating BlogAPI providers.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\blogapi\ProviderBase implements BlogapiProviderInterface
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\blogapiView source
class ProviderBase extends PluginBase implements BlogapiProviderInterface {
/**
* Returns all implemented methods.
*
* @return array
* An array of implemented methods.
*/
public static function getMethods() {
return [];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 92 |
ProviderBase:: |
public static | function |
Returns all implemented methods. Overrides BlogapiProviderInterface:: |
3 |