You are here

TestFieldNothing.php in Display Suite 8.4

File

tests/modules/ds_test/src/Plugin/DsField/TestFieldNothing.php
View source
<?php

namespace Drupal\ds_test\Plugin\DsField;

use Drupal\ds\Plugin\DsField\DsFieldBase;

/**
 * Test field plugin that returns nothing.
 *
 * @DsField(
 *   id = "test_field_nothing",
 *   title = @Translation("Test field plugin that returns nothing"),
 *   entity_type = "node"
 * )
 */
class TestFieldNothing extends DsFieldBase {

  /**
   * {@inheritdoc}
   */
  public function build() {
  }

}

Classes

Namesort descending Description
TestFieldNothing Test field plugin that returns nothing.