<?php $attribute = <<<EOF <?php #[Block( id: 'test', label: new TranslatableMarkup('test') )] class A {} EOF; foreach (token_get_all($attribute) as $token) { if (is_array($token)) { print token_name($token[0]) . ' ' . $token[1] . "\n"; } }
You have javascript disabled. You will not be able to edit any code.