You are here

protected function MiconLinkWidget::getPackages in Micon 2.x

Same name and namespace in other branches
  1. 8 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 135

Class

MiconLinkWidget
Plugin implementation of the 'link' widget.

Namespace

Drupal\micon_link\Plugin\Field\FieldWidget

Code

protected function getPackages() {
  return $this
    ->getSetting('packages');
}