You are here

DynamicTwigField.php in Display Suite 8.3

File

src/Plugin/Derivative/DynamicTwigField.php
View source
<?php

namespace Drupal\ds\Plugin\Derivative;

use Drupal\ds\Form\TwigFieldForm;

/**
 * Retrieves dynamic twig field plugin definitions.
 */
class DynamicTwigField extends DynamicField {

  /**
   * {@inheritdoc}
   */
  protected function getType() {
    return TwigFieldForm::TYPE;
  }

}

Classes

Namesort descending Description
DynamicTwigField Retrieves dynamic twig field plugin definitions.