LayoutWithoutLabel.php in Drupal 9
File
core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Layout/LayoutWithoutLabel.php
View source
<?php
namespace Drupal\layout_builder_test\Plugin\Layout;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Layout\LayoutDefault;
class LayoutWithoutLabel extends LayoutDefault {
public function defaultConfiguration() {
return [];
}
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
return $form;
}
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
}
}