Contributing: Updating Drupal component code
Sometimes the props on a component will change or new features will be added to a component. In these cases, it won't be enough to update the dependencies and the javascript; you'll also have to update the .yml file and the .twig file. Use the documentation regarding adding new components for details on how to do all of this.
New props will need to be added to both the .yml file and the .twig file.
New options for props will only need to be added to the .yml file (for documentation purposes).
New dependencies will need to be evaluated for changes to to the .twig file, but will always need to be added to the .yml file.
New slots will need to be evaluated closely and added to both the .yml file (for the twig variables) and, of course, to the .twig file.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion