MatrixCustom.php in Matrix field 8.2
Namespace
Drupal\matrix\Plugin\Field\FieldWidgetFile
src/Plugin/Field/FieldWidget/MatrixCustom.phpView 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
Name![]() |
Description |
---|---|
MatrixCustom | Plugin annotation @FieldWidget( id = "matrix_custom", label = @Translation("Custom Matrix"), description = @Translation("A grid of form elements"), field_types = {"matrix_custom"} ) |