ui_patterns icon indicating copy to clipboard operation
ui_patterns copied to clipboard

Add documentation about reserved words in pattern definitions

Open aleksip opened this issue 7 years ago • 0 comments

Not 100 % sure but I don't think the documentation mentions anything about reserved words in pattern definitions?

  /**
   * Reserved words.
   *
   * @var array
   */
  protected $reserved = [
    'id',
    'type',
    'theme',
    'context',
    'use',
    'attributes',
  ];

It would be good to document them as the resulting error message is a bit cryptic.

aleksip avatar Nov 15 '18 20:11 aleksip