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\content_moderation\Plugin\Validation\Constraint; use Symfony\Comp..
Decoded Output download
<?php
namespace Drupal\content_moderation\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Verifies that nodes have a valid moderation state.
*
* @Constraint(
* id = "ModerationState",
* label = @Translation("Valid moderation state", context = "Validation")
* )
*/
class ModerationStateConstraint extends Constraint {
public $message = 'Invalid state transition from %from to %to';
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\content_moderation\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Verifies that nodes have a valid moderation state.
*
* @Constraint(
* id = "ModerationState",
* label = @Translation("Valid moderation state", context = "Validation")
* )
*/
class ModerationStateConstraint extends Constraint {
public $message = 'Invalid state transition from %from to %to';
}
Function Calls
None |
Stats
MD5 | bc5502304d49a018c188ca1a59ac534a |
Eval Count | 0 |
Decode Time | 85 ms |