BlockEditForm.php in Context 8.4
File
src/Reaction/Blocks/Form/BlockEditForm.php
View source
<?php
namespace Drupal\context\Reaction\Blocks\Form;
class BlockEditForm extends BlockFormBase {
public function getFormId() {
return 'context_reaction_blocks_edit_block_form';
}
protected function getSubmitValue() {
return $this
->t('Update block');
}
protected function prepareBlock($block_id) {
return $this->reaction
->getBlock($block_id);
}
}
Classes
Name |
Description |
BlockEditForm |
Provides a form to edit a block in the Block reaction. |