Čiščenje

pull/60/head
Jurij Podgoršek 2024-04-21 21:00:20 +02:00
parent b7ece305f7
commit c51c571dd9
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ declare(strict_types=1);
namespace Drupal\yufu_concept\Plugin\Block; namespace Drupal\yufu_concept\Plugin\Block;
use Drupal\Core\Block\BlockBase;
use Drupal\content_moderation_info_block\Plugin\Block\ContentModerationInfoBlock; use Drupal\content_moderation_info_block\Plugin\Block\ContentModerationInfoBlock;
use Drupal\content_moderation_info_block\Form\ContentModerationInfoBlockModerationForm; use Drupal\content_moderation_info_block\Form\ContentModerationInfoBlockModerationForm;
use Drupal\content_moderation_info_block\Form\ContentModerationInfoBlockPublishForm; use Drupal\content_moderation_info_block\Form\ContentModerationInfoBlockPublishForm;
@ -20,13 +19,13 @@ use Drupal\content_moderation_info_block\Form\ContentModerationInfoBlockPublishF
* ) * )
*/ */
final class ModerateFromDiffBlock extends ContentModerationInfoBlock { final class ModerateFromDiffBlock extends ContentModerationInfoBlock {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function build() { public function build() {
$build = []; $build = [];
$configuration = $this->getConfiguration(); $configuration = $this->getConfiguration();
$entity = $this->getContextValue('entity');
$routeMatcher = \Drupal::service('current_route_match'); $routeMatcher = \Drupal::service('current_route_match');