abstract class LearningPathMembersPluginBase in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/LearningPathMembersPluginBase.php \Drupal\opigno_learning_path\LearningPathMembersPluginBase
Class LearningPathMembersPluginBase.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\opigno_learning_path\LearningPathMembersPluginBase implements LearningPathMembersPluginInterface
Expanded class hierarchy of LearningPathMembersPluginBase
2 files declare their use of LearningPathMembersPluginBase
- MembersPlugin.php in src/
Plugin/ LearningPathMembers/ MembersPlugin.php - RecipientsPlugin.php in src/
Plugin/ LearningPathMembers/ RecipientsPlugin.php
File
- src/
LearningPathMembersPluginBase.php, line 13
Namespace
Drupal\opigno_learning_pathView source
abstract class LearningPathMembersPluginBase extends PluginBase implements LearningPathMembersPluginInterface {
/**
* LearningPathMembersPluginBase constructor.
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
}
/**
* {@inheritdoc}
*/
public function getId() {
return $this->pluginDefinition['id'];
}
/**
* {@inheritdoc}
*/
public function getMembersForm(array &$form, FormStateInterface $form_state, User $current_user) {
}
/**
* Returns group members uids.
*
* @param \Drupal\group\Entity\Group $group
* Group object.
*
* @return array|null
* Array of members uids if exist, null otherwise.
*/
public function getGroupMembersIds(Group $group) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LearningPathMembersPluginBase:: |
public | function | Returns group members uids. | 1 |
LearningPathMembersPluginBase:: |
public | function |
Get plugin id. Overrides LearningPathMembersPluginInterface:: |
|
LearningPathMembersPluginBase:: |
public | function |
Get members form. Overrides LearningPathMembersPluginInterface:: |
2 |
LearningPathMembersPluginBase:: |
public | function |
LearningPathMembersPluginBase constructor. Overrides PluginBase:: |
|
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. |