Error when adding a text format (admin/config/content/formats/add):

Doctrine\Common\Annotations\AnnotationException: [Semantical Error] Couldn't find constant TYPE_TRANSFORM_IRREVERSIBLE, class Drupal\graphapi_class\Plugin\Filter\FilterClassDiagram. in Doctrine\Common\Annotations\AnnotationException::semanticalError() (line 52 of /Users/erik/www/drupal8/core/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php).

CommentFileSizeAuthor
#1 graphapi-filter-type-2192189-1.patch1.37 KBsutharsan

Comments

sutharsan’s picture

Status: Active » Needs review
StatusFileSize
new1.37 KB

Changed on both filters:

- *   type = FILTER_TYPE_TRANSFORM_IRREVERSIBLE,
+ *   type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_IRREVERSIBLE,
clemens.tolboom’s picture

Status: Needs review » Fixed

Thanks for reporting.

I did not manage to generate a diagram yet with body containing

<pre>
[classdiagram
Drupal\Component\Plugin\PluginManagerInterface
]
</pre>

but at least the message is gone.

Committed 58601d2ee3e096bd2638e47ec1a8946541e0ffe5

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.