You are here

MatrixCustom.php in Matrix field 8.2

File

src/Plugin/Field/FieldWidget/MatrixCustom.php
View source
<?php

namespace Drupal\matrix\Plugin\Field\FieldWidget;

use Drupal\Core\Field\WidgetBase;

/**
 * @FieldWidget(
 *  id = "matrix_custom",
 *  label = @Translation("Custom Matrix"),
 *  description = @Translation("A grid of form elements"),
 *  field_types = {"matrix_custom"}
 * )
 */
class MatrixCustom extends WidgetBase {

}

Classes

Namesort descending Description
MatrixCustom Plugin annotation @FieldWidget( id = "matrix_custom", label = @Translation("Custom Matrix"), description = @Translation("A grid of form elements"), field_types = {"matrix_custom"} )