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\Core\Entity\Plugin\Validation\Constraint; use Symfony\Component\V..
Decoded Output download
<?php
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Entity Reference valid reference constraint.
*
* Verifies that referenced entities are valid.
*
* @Constraint(
* id = "ReferenceAccess",
* label = @Translation("Entity Reference reference access", context = "Validation")
* )
*/
class ReferenceAccessConstraint extends Constraint {
/**
* The default violation message.
*
* @var string
*/
public $message = 'You do not have access to the referenced entity (%type: %id).';
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Entity Reference valid reference constraint.
*
* Verifies that referenced entities are valid.
*
* @Constraint(
* id = "ReferenceAccess",
* label = @Translation("Entity Reference reference access", context = "Validation")
* )
*/
class ReferenceAccessConstraint extends Constraint {
/**
* The default violation message.
*
* @var string
*/
public $message = 'You do not have access to the referenced entity (%type: %id).';
}
Function Calls
None |
Stats
MD5 | 07ab583f2a0cfff1543097eff85bf676 |
Eval Count | 0 |
Decode Time | 105 ms |