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\ckeditor5_incompatible_filter_test\Plugin\Filter; use Drupal\Core..
Decoded Output download
<?php
namespace Drupal\ckeditor5_incompatible_filter_test\Plugin\Filter;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupalilter\Attribute\Filter;
use Drupalilter\FilterProcessResult;
use Drupalilter\Plugin\FilterBase;
use Drupalilter\Plugin\FilterInterface;
/**
* Provides a filter incompatible with CKEditor 5.
*/
#[Filter(
id: "filter_incompatible",
title: new TranslatableMarkup("A TYPE_MARKUP_LANGUAGE filter incompatible with CKEditor 5"),
type: FilterInterface::TYPE_MARKUP_LANGUAGE
)]
class FilterIsIncompatible extends FilterBase {
/**
* {@inheritdoc}
*/
public function process($text, $langcode) {
return new FilterProcessResult($text);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\ckeditor5_incompatible_filter_test\Plugin\Filter;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\filter\Attribute\Filter;
use Drupal\filter\FilterProcessResult;
use Drupal\filter\Plugin\FilterBase;
use Drupal\filter\Plugin\FilterInterface;
/**
* Provides a filter incompatible with CKEditor 5.
*/
#[Filter(
id: "filter_incompatible",
title: new TranslatableMarkup("A TYPE_MARKUP_LANGUAGE filter incompatible with CKEditor 5"),
type: FilterInterface::TYPE_MARKUP_LANGUAGE
)]
class FilterIsIncompatible extends FilterBase {
/**
* {@inheritdoc}
*/
public function process($text, $langcode) {
return new FilterProcessResult($text);
}
}
Function Calls
None |
Stats
MD5 | ac7aa5523f6c06da5f47a7e9a751a8ff |
Eval Count | 0 |
Decode Time | 106 ms |