abstract class PhpmailerOauth2PluginBase in PHPMailer SMTP 2.1.x
Base class for PHPMailer Oauth2 plugins.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, MessengerTrait, StringTranslationTrait
- class \Drupal\phpmailer_smtp\Plugin\PhpmailerOauth2\PhpmailerOauth2PluginBase implements PhpmailerOauth2PluginInterface
- class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, MessengerTrait, StringTranslationTrait
Expanded class hierarchy of PhpmailerOauth2PluginBase
File
- src/
Plugin/ PhpmailerOauth2/ PhpmailerOauth2PluginBase.php, line 11
Namespace
Drupal\phpmailer_smtp\Plugin\PhpmailerOauth2View source
abstract class PhpmailerOauth2PluginBase extends PluginBase implements PhpmailerOauth2PluginInterface {
/**
* {@inheritdoc}
*/
public function getName() {
$this
->checkKeyDefined('name');
return $this->pluginDefinition['name'];
}
/**
* {@inheritdoc}
*/
public function getId() {
$this
->checkKeyDefined('id');
return $this->pluginDefinition['id'];
}
/**
* {@inheritdoc}
*/
public function getAuthOptions() {
return [];
}
/**
* {@inheritdoc}
*/
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
}
/**
* {@inheritdoc}
*/
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
}
/**
* {@inheritdoc}
*/
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
}
/**
* {@inheritdoc}
*/
public function defaultConfiguration() {
}
/**
* {@inheritdoc}
*/
public function getConfiguration() {
}
/**
* {@inheritdoc}
*/
public function setConfiguration(array $configuration) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 120 |
DependencySerializationTrait:: |
protected | property | ||
DependencySerializationTrait:: |
protected | property | ||
DependencySerializationTrait:: |
public | function | 2 | |
DependencySerializationTrait:: |
public | function | 2 | |
MessengerTrait:: |
protected | property | The messenger. | 27 |
MessengerTrait:: |
public | function | Gets the messenger. | 27 |
MessengerTrait:: |
public | function | Sets the messenger. | |
PhpmailerOauth2PluginBase:: |
public | function |
Form constructor. Overrides PluginFormInterface:: |
|
PhpmailerOauth2PluginBase:: |
public | function |
Gets default configuration for this plugin. Overrides ConfigurableInterface:: |
|
PhpmailerOauth2PluginBase:: |
public | function |
Retrieves the auth options for PHPMailer OAuth. Overrides PhpmailerOauth2PluginInterface:: |
|
PhpmailerOauth2PluginBase:: |
public | function |
Gets this plugin's configuration. Overrides ConfigurableInterface:: |
|
PhpmailerOauth2PluginBase:: |
public | function |
Retrieves the id of the PHPMailer OAuth2 plugin. Overrides PhpmailerOauth2PluginInterface:: |
|
PhpmailerOauth2PluginBase:: |
public | function |
Retrieves the human-readable name of the PHPMailer Oauth2 plugin. Overrides PhpmailerOauth2PluginInterface:: |
|
PhpmailerOauth2PluginBase:: |
public | function |
Sets the configuration for this plugin instance. Overrides ConfigurableInterface:: |
|
PhpmailerOauth2PluginBase:: |
public | function |
Form submission handler. Overrides PluginFormInterface:: |
|
PhpmailerOauth2PluginBase:: |
public | function |
Form validation handler. Overrides PluginFormInterface:: |
|
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:: |
2 |
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. | 98 |
StringTranslationTrait:: |
protected | property | The string translation service. | 4 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. |