class ThemesInstalledEvent in Hook Event Dispatcher 8
Class ThemesInstalledEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Theme\ThemesInstalledEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
 
Expanded class hierarchy of ThemesInstalledEvent
1 file declares its use of ThemesInstalledEvent
- hook_event_dispatcher.module in ./
hook_event_dispatcher.module  - Hook event dispatcher module.
 
File
- src/
Event/ Theme/ ThemesInstalledEvent.php, line 12  
Namespace
Drupal\hook_event_dispatcher\Event\ThemeView source
class ThemesInstalledEvent extends Event implements EventInterface {
  /**
   * Theme list.
   *
   * @var array
   */
  private $themeList;
  /**
   * ThemesInstalledEvent constructor.
   *
   * @param array $themeList
   *   Array containing the names of the themes being installed.
   */
  public function __construct(array $themeList) {
    $this->themeList = $themeList;
  }
  /**
   * Get theme list.
   *
   * @return array
   *   Theme list.
   */
  public function getThemeList() {
    return $this->themeList;
  }
  /**
   * {@inheritdoc}
   */
  public function getDispatcherType() {
    return HookEventDispatcherInterface::THEMES_INSTALLED;
  }
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            ThemesInstalledEvent:: | 
                  private | property | Theme list. | |
| 
            ThemesInstalledEvent:: | 
                  public | function | 
            Get the dispatcher type. Overrides EventInterface:: | 
                  |
| 
            ThemesInstalledEvent:: | 
                  public | function | Get theme list. | |
| 
            ThemesInstalledEvent:: | 
                  public | function | ThemesInstalledEvent constructor. |