You are here

private function ExifFieldWidgetBase::retrieveExifFields in Exif 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldWidget/ExifFieldWidgetBase.php \Drupal\exif\Plugin\Field\FieldWidget\ExifFieldWidgetBase::retrieveExifFields()

List of possible fields.

Return value

array List of possible exif fields.

1 call to ExifFieldWidgetBase::retrieveExifFields()
ExifFieldWidgetBase::settingsForm in src/Plugin/Field/FieldWidget/ExifFieldWidgetBase.php
Returns a form to configure settings for the widget.

File

src/Plugin/Field/FieldWidget/ExifFieldWidgetBase.php, line 103

Class

ExifFieldWidgetBase
Class ExifFieldWidgetBase provide base methods for all widgets.

Namespace

Drupal\exif\Plugin\Field\FieldWidget

Code

private function retrieveExifFields() {
  $exif = ExifFactory::getExifInterface();
  return $exif
    ->getFieldKeys();
}