class SelectionBase in Multi-path autocomplete 8
Same name in this branch
- 8 lib/Drupal/mpac/Plugin/Derivative/SelectionBase.php \Drupal\mpac\Plugin\Derivative\SelectionBase
- 8 lib/Drupal/mpac/Plugin/mpac/selection/SelectionBase.php \Drupal\mpac\Plugin\mpac\selection\SelectionBase
Plugin implementation of the 'selection' mpac.
Plugin annotation
@MpacSelection(
id = "default",
module = "mpac",
label = @Translation("Default"),
group = "default",
weight = 0,
derivative = "Drupal\mpac\Plugin\Derivative\SelectionBase"
)
Hierarchy
- class \Drupal\mpac\Plugin\mpac\selection\SelectionBase implements SelectionInterface
Expanded class hierarchy of SelectionBase
2 files declare their use of SelectionBase
- NodeSelection.php in lib/
Drupal/ mpac/ Plugin/ mpac/ selection/ NodeSelection.php - Contains \Drupal\mpac\Plugin\mpac\selection\NodeSelection.
- PathSelection.php in lib/
Drupal/ mpac/ Plugin/ mpac/ selection/ PathSelection.php - Contains \Drupal\mpac\Plugin\mpac\selection\PathSelection.
File
- lib/
Drupal/ mpac/ Plugin/ mpac/ selection/ SelectionBase.php, line 26 - Contains \Drupal\mpac\Plugin\mpac\selection\SelectionBase.
Namespace
Drupal\mpac\Plugin\mpac\selectionView source
class SelectionBase implements SelectionInterface {
/**
* Constructs a SelectionBase object.
*/
public function __construct() {
}
public function countMatchingItems($match = NULL, $match_operator = 'CONTAINS') {
return 0;
}
public function getMatchingItems($match = NULL, $match_operator = 'CONTAINS', $limit = 0) {
return array();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SelectionBase:: |
public | function |
Counts items that matches against the given string. Overrides SelectionInterface:: |
2 |
SelectionBase:: |
public | function |
Returns a list of matching items. Overrides SelectionInterface:: |
2 |
SelectionBase:: |
public | function | Constructs a SelectionBase object. |