Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Drupal\block_test\PluginForm; use Drupal\Core\Form\FormStateInterface; u..

Decoded Output download

<?php

namespace Drupallock_test\PluginForm;

use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Plugin\PluginFormBase;

/**
 * Provides a form for a block that is empty.
 */
class EmptyBlockForm extends PluginFormBase {

  /**
   * {@inheritdoc}
   */
  public $plugin;

  /**
   * {@inheritdoc}
   */
  public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
    return $form;
  }

  /**
   * {@inheritdoc}
   */
  public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
    // Intentionally empty.
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Drupal\block_test\PluginForm;

use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Plugin\PluginFormBase;

/**
 * Provides a form for a block that is empty.
 */
class EmptyBlockForm extends PluginFormBase {

  /**
   * {@inheritdoc}
   */
  public $plugin;

  /**
   * {@inheritdoc}
   */
  public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
    return $form;
  }

  /**
   * {@inheritdoc}
   */
  public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
    // Intentionally empty.
  }

}

Function Calls

None

Variables

None

Stats

MD5 7ca80c9cc31c77d0cc0ecafa2b0bae53
Eval Count 0
Decode Time 91 ms