comparison core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children af1871eacc83
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
37 * invokes the 'themes_uninstalled' hook. 37 * invokes the 'themes_uninstalled' hook.
38 * 38 *
39 * @param array $theme_list 39 * @param array $theme_list
40 * The themes to uninstall. 40 * The themes to uninstall.
41 * 41 *
42 * @throws \InvalidArgumentException 42 * @throws \Drupal\Core\Extension\Exception\UninstalledExtensionException
43 * Thrown when you uninstall an not installed theme. 43 * Thrown when you try to uninstall a theme that wasn't installed.
44 * 44 *
45 * @see hook_themes_uninstalled() 45 * @see hook_themes_uninstalled()
46 * 46 *
47 * @deprecated in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. 47 * @deprecated in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0.
48 * Use the theme_installer service instead. 48 * Use the theme_installer service instead.
90 * human-readable names. This element is not set if there are no themes on 90 * human-readable names. This element is not set if there are no themes on
91 * the system that declare this theme as their base theme. 91 * the system that declare this theme as their base theme.
92 */ 92 */
93 public function listInfo(); 93 public function listInfo();
94 94
95
96 /** 95 /**
97 * Adds a theme extension to the internal listing. 96 * Adds a theme extension to the internal listing.
98 * 97 *
99 * @param \Drupal\Core\Extension\Extension $theme 98 * @param \Drupal\Core\Extension\Extension $theme
100 * The theme extension. 99 * The theme extension.
145 * @param string $theme 144 * @param string $theme
146 * The machine name of the theme which title should be shown. 145 * The machine name of the theme which title should be shown.
147 * 146 *
148 * @return string 147 * @return string
149 * Returns the human readable name of the theme. 148 * Returns the human readable name of the theme.
149 *
150 * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException
151 * When the specified theme does not exist.
150 */ 152 */
151 public function getName($theme); 153 public function getName($theme);
152 154
153 /** 155 /**
154 * Returns the default theme. 156 * Returns the default theme.
205 * The name of the theme to return. 207 * The name of the theme to return.
206 * 208 *
207 * @return \Drupal\Core\Extension\Extension 209 * @return \Drupal\Core\Extension\Extension
208 * An extension object. 210 * An extension object.
209 * 211 *
210 * @throws \InvalidArgumentException 212 * @throws \Drupal\Core\Extension\Extension\UnknownExtensionException
211 * Thrown when the requested theme does not exist. 213 * Thrown when the requested theme does not exist.
212 */ 214 */
213 public function getTheme($name); 215 public function getTheme($name);
214 216
215 /** 217 /**