You are here

class DynamicTwigField in Display Suite 8.4

Same name in this branch
  1. 8.4 src/Plugin/Derivative/DynamicTwigField.php \Drupal\ds\Plugin\Derivative\DynamicTwigField
  2. 8.4 src/Plugin/DsField/DynamicTwigField.php \Drupal\ds\Plugin\DsField\DynamicTwigField
Same name and namespace in other branches
  1. 8.3 src/Plugin/Derivative/DynamicTwigField.php \Drupal\ds\Plugin\Derivative\DynamicTwigField

Retrieves dynamic twig field plugin definitions.

Hierarchy

Expanded class hierarchy of DynamicTwigField

File

src/Plugin/Derivative/DynamicTwigField.php, line 10

Namespace

Drupal\ds\Plugin\Derivative
View source
class DynamicTwigField extends DynamicField {

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

}

Members

Namesort descending Modifiers Type Description Overrides
DeriverBase::$derivatives protected property List of derivative definitions. 1
DeriverBase::getDerivativeDefinition public function Gets the definition of a derivative plugin. Overrides DeriverInterface::getDerivativeDefinition
DynamicField::getDerivativeDefinitions public function Gets the definition of all derivatives of a base plugin. Overrides DeriverBase::getDerivativeDefinitions
DynamicField::getKey protected function
DynamicTwigField::getType protected function Overrides DynamicField::getType