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 declare(strict_types = 1); namespace Drupal\ckeditor5\Plugin\Validation\Constraint..

Decoded Output download

<?php

declare(strict_types = 1);

namespace Drupal\ckeditor5\Plugin\Validation\Constraint;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Validation\Attribute\Constraint;
use Symfony\Component\Validator\Constraint as SymfonyConstraint;

/**
 * The CKEditor 5 plugin settings.
 *
 * @internal
 */
#[Constraint(
  id: 'CKEditor5EnabledConfigurablePlugins',
  label: new TranslatableMarkup('CKEditor 5 enabled configurable plugins', [], ['context' => 'Validation'])
)]
class EnabledConfigurablePluginsConstraint extends SymfonyConstraint {

  /**
   * The default violation message.
   *
   * @var string
   */
  public $message = 'Configuration for the enabled plugin "%plugin_label" (%plugin_id) is missing.';

}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types = 1);

namespace Drupal\ckeditor5\Plugin\Validation\Constraint;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Validation\Attribute\Constraint;
use Symfony\Component\Validator\Constraint as SymfonyConstraint;

/**
 * The CKEditor 5 plugin settings.
 *
 * @internal
 */
#[Constraint(
  id: 'CKEditor5EnabledConfigurablePlugins',
  label: new TranslatableMarkup('CKEditor 5 enabled configurable plugins', [], ['context' => 'Validation'])
)]
class EnabledConfigurablePluginsConstraint extends SymfonyConstraint {

  /**
   * The default violation message.
   *
   * @var string
   */
  public $message = 'Configuration for the enabled plugin "%plugin_label" (%plugin_id) is missing.';

}

Function Calls

None

Variables

None

Stats

MD5 d59e4da7596bfd72638086d3aa313991
Eval Count 0
Decode Time 86 ms