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_content\Plugin\Validation\Constraint; use Drupal\Core\Entit..

Decoded Output download

<?php

namespace Drupallock_content\Plugin\Validation\Constraint;

use Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Validation\Attribute\Constraint;

/**
 * Validation constraint for the block content entity changed timestamp.
 */
#[Constraint(
  id: 'BlockContentEntityChanged',
  label: new TranslatableMarkup('Block content entity changed', [], ['context' => 'Validation']),
  type: ['entity']
)]
class BlockContentEntityChangedConstraint extends EntityChangedConstraint {
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Drupal\block_content\Plugin\Validation\Constraint;

use Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Validation\Attribute\Constraint;

/**
 * Validation constraint for the block content entity changed timestamp.
 */
#[Constraint(
  id: 'BlockContentEntityChanged',
  label: new TranslatableMarkup('Block content entity changed', [], ['context' => 'Validation']),
  type: ['entity']
)]
class BlockContentEntityChangedConstraint extends EntityChangedConstraint {
}

Function Calls

None

Variables

None

Stats

MD5 2483976c414701801c429435286395c6
Eval Count 0
Decode Time 76 ms