Loading modules/project_browser_devel/src/Plugin/ProjectBrowserSource/RandomDataPlugin.php +1 −0 Original line number Diff line number Diff line Loading @@ -163,6 +163,7 @@ class RandomDataPlugin extends ProjectBrowserSourceBase implements ContainerFact 'field_module_categories' => [$categories[$category]], 'field_security_advisory_coverage' => $security_values[$security]['id'], 'field_project_machine_name' => $machine_name, 'is_compatible' => (bool) ($i % 4), 'project_usage' => [], 'project_usage_total' => rand(0, 100000), 'flag_project_star_user_count' => rand(0, 100), Loading src/Plugin/ProjectBrowserSource/MockDrupalDotOrg.php +4 −0 Original line number Diff line number Diff line Loading @@ -373,6 +373,10 @@ class MockDrupalDotOrg extends ProjectBrowserSourceBase implements ContainerFact ]; } // Mock projects are filtered and made sure that they are compatible // before we even put them in the database. $project['is_compatible'] = TRUE; // Compute total project usage. if (!empty($project['project_usage'])) { $project_usage_total = 0; Loading src/ProjectBrowser/Project.php +8 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ class Project implements ProjectInterface { $this->setIsActive($project['is_active']); $this->setIsCovered($project['is_covered']); $this->setIsMaintained($project['is_maintained']); $this->setIsCompatible($project['is_compatible']); } } Loading Loading @@ -204,4 +205,11 @@ class Project implements ProjectInterface { $this->is_maintained = $is_maintained; } /** * {@inheritdoc} */ public function setIsCompatible(bool $compatible) { $this->is_compatible = $compatible; } } src/ProjectBrowser/ProjectInterface.php +8 −0 Original line number Diff line number Diff line Loading @@ -121,4 +121,12 @@ interface ProjectInterface { */ public function setIsMaintained(bool $is_maintained); /** * Set whether the project is compatible with the current Drupal installation. * * @param bool $compatible * Whether the project is compatible or not. */ public function setIsCompatible(bool $compatible); } sveltejs/public/build/bundle.css +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file Loading
modules/project_browser_devel/src/Plugin/ProjectBrowserSource/RandomDataPlugin.php +1 −0 Original line number Diff line number Diff line Loading @@ -163,6 +163,7 @@ class RandomDataPlugin extends ProjectBrowserSourceBase implements ContainerFact 'field_module_categories' => [$categories[$category]], 'field_security_advisory_coverage' => $security_values[$security]['id'], 'field_project_machine_name' => $machine_name, 'is_compatible' => (bool) ($i % 4), 'project_usage' => [], 'project_usage_total' => rand(0, 100000), 'flag_project_star_user_count' => rand(0, 100), Loading
src/Plugin/ProjectBrowserSource/MockDrupalDotOrg.php +4 −0 Original line number Diff line number Diff line Loading @@ -373,6 +373,10 @@ class MockDrupalDotOrg extends ProjectBrowserSourceBase implements ContainerFact ]; } // Mock projects are filtered and made sure that they are compatible // before we even put them in the database. $project['is_compatible'] = TRUE; // Compute total project usage. if (!empty($project['project_usage'])) { $project_usage_total = 0; Loading
src/ProjectBrowser/Project.php +8 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ class Project implements ProjectInterface { $this->setIsActive($project['is_active']); $this->setIsCovered($project['is_covered']); $this->setIsMaintained($project['is_maintained']); $this->setIsCompatible($project['is_compatible']); } } Loading Loading @@ -204,4 +205,11 @@ class Project implements ProjectInterface { $this->is_maintained = $is_maintained; } /** * {@inheritdoc} */ public function setIsCompatible(bool $compatible) { $this->is_compatible = $compatible; } }
src/ProjectBrowser/ProjectInterface.php +8 −0 Original line number Diff line number Diff line Loading @@ -121,4 +121,12 @@ interface ProjectInterface { */ public function setIsMaintained(bool $is_maintained); /** * Set whether the project is compatible with the current Drupal installation. * * @param bool $compatible * Whether the project is compatible or not. */ public function setIsCompatible(bool $compatible); }
sveltejs/public/build/bundle.css +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file