interface ConditionCreatorInterface in Block Visibility Groups 8
Hierarchy
- interface \Drupal\block_visibility_groups_admin\Plugin\ConditionCreatorInterface
Expanded class hierarchy of ConditionCreatorInterface
All classes that implement ConditionCreatorInterface
File
- block_visibility_groups_admin/
src/ Plugin/ ConditionCreatorInterface.php, line 8
Namespace
Drupal\block_visibility_groups_admin\PluginView source
interface ConditionCreatorInterface {
/**
* Create condition elements for form.
*
* @return array
*/
public function createConditionElements();
/**
* Create condition configuration from form submission.
*
* @param array $plugin_info
* The plugin implementation definition.
*
* @return array
* The condition config.
*/
public function createConditionConfig($plugin_info);
/**
* Get the label when creating a new condition.
*
* @return string
* A new condition label.
*/
public function getNewConditionLabel();
/**
* Determine if a condition was selected in the form.
*
* @param $condition_info
*
* @return bool
* TRUE if the condition was selected in a form.
*/
public function itemSelected($condition_info);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConditionCreatorInterface:: |
public | function | Create condition configuration from form submission. | 1 |
ConditionCreatorInterface:: |
public | function | Create condition elements for form. | 1 |
ConditionCreatorInterface:: |
public | function | Get the label when creating a new condition. | 3 |
ConditionCreatorInterface:: |
public | function | Determine if a condition was selected in the form. | 1 |