ConfigurableProcessorBase.php in Gutenberg 8.2
File
src/BlockProcessor/ConfigurableProcessorBase.php
View source
<?php
namespace Drupal\gutenberg\BlockProcessor;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
abstract class ConfigurableProcessorBase implements GutenbergBlockProcessorInterface, GutenbergConfigurableBlockProcessorInterface {
use StringTranslationTrait;
protected $settings;
public function setSettings(array $settings) {
$this->settings = $settings;
}
public function provideSettings(array $form, FormStateInterface $form_state) {
return [];
}
}