Fixed some PHPCS and Dependecy Injections problems.
Compare changes
Files
76+ 45
− 37
@@ -5,7 +5,6 @@
@@ -20,7 +19,6 @@ use Drupal\ds\Plugin\DsField\DsFieldInterface;
@@ -33,9 +31,9 @@ function ds_field_ui_fields_layouts(&$form, FormStateInterface $form_state) {
@@ -131,9 +129,9 @@ function ds_field_ui_regions(array $form, FormStateInterface $form_state) {
@@ -233,7 +231,7 @@ function ds_field_ui_regions(array $form, FormStateInterface $form_state) {
@@ -285,7 +283,7 @@ function ds_field_ui_layouts_validate($form, FormStateInterface $form_state) {
@@ -295,8 +293,10 @@ function ds_field_ui_layouts_validate($form, FormStateInterface $form_state) {
@@ -318,11 +318,11 @@ function ds_field_ui_layouts_save($form, FormStateInterface $form_state) {
@@ -401,6 +401,7 @@ function ds_field_ui_layouts_save($form, FormStateInterface $form_state) {
@@ -456,7 +457,7 @@ function ds_field_ui_layouts_save($form, FormStateInterface $form_state) {
@@ -523,9 +524,9 @@ function ds_field_ui_fields_save($form, FormStateInterface $form_state) {
@@ -608,20 +609,20 @@ function ds_field_ui_fields_save($form, FormStateInterface $form_state) {
@@ -649,7 +650,10 @@ function ds_field_settings_summary(DsFieldInterface $plugin_instance, array $set
@@ -767,9 +771,9 @@ function _ds_field_ui_table_layouts($entity_type, $bundle, $view_mode, array &$f
@@ -795,7 +799,7 @@ function _ds_field_ui_table_layouts($entity_type, $bundle, $view_mode, array &$f
@@ -920,7 +924,7 @@ function _ds_field_ui_table_layouts_preview(array &$form, FormStateInterface $fo
@@ -991,8 +995,9 @@ function _ds_field_ui_table_layouts_preview(array &$form, FormStateInterface $fo
@@ -1186,9 +1191,9 @@ function _ds_field_ui_fields($entity_type, $bundle, $view_mode, array &$form, Fo
@@ -1213,7 +1218,7 @@ function _ds_field_ui_fields($entity_type, $bundle, $view_mode, array &$form, Fo
@@ -1224,7 +1229,7 @@ function _ds_field_ui_fields($entity_type, $bundle, $view_mode, array &$form, Fo
@@ -1288,7 +1293,7 @@ function _ds_field_ui_fields($entity_type, $bundle, $view_mode, array &$form, Fo
@@ -1297,7 +1302,7 @@ function _ds_field_ui_fields($entity_type, $bundle, $view_mode, array &$form, Fo
@@ -1310,13 +1315,13 @@ function _ds_field_ui_fields($entity_type, $bundle, $view_mode, array &$form, Fo
@@ -1353,9 +1358,9 @@ function _ds_field_ui_fields($entity_type, $bundle, $view_mode, array &$form, Fo
@@ -1380,7 +1385,7 @@ function _ds_field_ui_core_fields(array &$form, FormStateInterface $form_state)
@@ -1468,7 +1473,10 @@ function ds_field_row_form_format_summary_construct(&$table, $key, FormStateInte