Skip to content
Snippets Groups Projects

Issue #2886679: Coding Standard issues

4 files
+ 7
5
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -4,10 +4,10 @@ namespace Drupal\edit_and_save\Form;
use Drupal\Core\Entity\EntityTypeBundleInfoInterface;
use Drupal\Core\Entity\EntityTypeRepositoryInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Form\ConfigFormBase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\edit_and_save\Repository\EditAndSaveRepository;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Settings form for Edit and Save.
@@ -150,7 +150,7 @@ class EditAndSaveConfigureForm extends ConfigFormBase {
$form['edit_and_save_entities'][$type][$key] = [
'#type' => 'checkboxes',
'#title' => $contentEntityTypes[$type][$key],
'#default_value' => isset($editAndSaveEntities[$type][$key]) ? $editAndSaveEntities[$type][$key] : [],
'#default_value' => $editAndSaveEntities[$type][$key] ?? [],
'#options' => $options[$key],
];
}
Loading