Verified Commit 495b6d94 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3375497 by Yujiman85, xjm, joachim: Unclear term 'internal library...

Issue #3375497 by Yujiman85, xjm, joachim: Unclear term 'internal library name' in theme API documentation

(cherry picked from commit 01747e1c)
parent 752da557
Loading
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -995,8 +995,14 @@ function hook_js_settings_alter(array &$settings, \Drupal\Core\Asset\AttachedAss
 * and themes that may be using the library.
 *
 * @param array $libraries
 *   An associative array of libraries registered by $extension. Keyed by
 *   internal library name and passed by reference.
 *   An associative array of libraries, passed by reference. The array key
 *   for any particular library will be the name registered in *.libraries.yml.
 *   In the example below, the array key would be $libraries['foo'].
 *   @code
 *   foo:
 *     js:
 *       .......
 *   @endcode
 * @param string $extension
 *   Can either be 'core' or the machine name of the extension that registered
 *   the libraries.