projectStorage example

foreach ($projects as $project) {
      $this->updateProcessor->createFetchTask($project);
    }
  }

  /** * {@inheritdoc} */
  public function getProjects() {
    if (empty($this->projects)) {
      // Retrieve the projects from storage, if present.       $this->projects = $this->projectStorage('update_project_projects');
      if (empty($this->projects)) {
        // Still empty, so we have to rebuild.         $module_data = $this->moduleExtensionList->reset()->getList();
        $theme_data = $this->themeHandler->rebuildThemeData();
        $project_info = new ProjectInfo();
        $project_info->processInfoList($this->projects, $module_data, 'module', TRUE);
        $project_info->processInfoList($this->projects, $theme_data, 'theme', TRUE);
        if ($this->updateSettings->get('check.disabled_extensions')) {
          $project_info->processInfoList($this->projects, $module_data, 'module', FALSE);
          $project_info->processInfoList($this->projects, $theme_data, 'theme', FALSE);
        }
        
Home | Imprint | This part of the site doesn't use cookies.