Čiščenje
parent
b7ece305f7
commit
c51c571dd9
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue