@@ -85,6 +85,7 @@ class TableWidget extends WidgetBase implements ContainerFactoryPluginInterface
'readonly_columns'=>0,
'limit_operations'=>FALSE,
'enabled_operations'=>[],
'hide_formatting_options'=>FALSE,
'placeholder'=>'',
]+parent::defaultSettings();
}
@@ -161,6 +162,14 @@ class TableWidget extends WidgetBase implements ContainerFactoryPluginInterface
'#description'=>$this->t('Text that will be shown inside the field until a value is entered. This hint is usually a sample value or a brief description of the expected format.'),
'#description'=>$this->t('If the markup is not rendered for this table later, the Formatting options dropdown help can be hidden by checking this option.'),
];
return$elements;
}
@@ -223,6 +232,10 @@ class TableWidget extends WidgetBase implements ContainerFactoryPluginInterface
$summary[]=$this->t('All operations are enabled.');