protected function MiconLinkWidget::getPackages in Micon 8
Same name and namespace in other branches
- 2.x micon_link/src/Plugin/Field/FieldWidget/MiconLinkWidget.php \Drupal\micon_link\Plugin\Field\FieldWidget\MiconLinkWidget::getPackages()
Get packages available to this field.
1 call to MiconLinkWidget::getPackages()
- MiconLinkWidget::formElement in micon_link/
src/ Plugin/ Field/ FieldWidget/ MiconLinkWidget.php - Returns the form for a single field widget.
1 method overrides MiconLinkWidget::getPackages()
- MiconMenuWidget::getPackages in micon_menu/
src/ Plugin/ Field/ FieldWidget/ MiconMenuWidget.php - Get packages available to this field.
File
- micon_link/
src/ Plugin/ Field/ FieldWidget/ MiconLinkWidget.php, line 129
Class
- MiconLinkWidget
- Plugin implementation of the 'link' widget.
Namespace
Drupal\micon_link\Plugin\Field\FieldWidgetCode
protected function getPackages() {
return $this
->getSetting('packages');
}