Skip to content
Snippets Groups Projects

Issue #3489729: Make recipes re-applyable

Merged Adam G-H requested to merge issue/project_browser-3489729:3489729-reapply-link into 2.0.x
Compare and
19 files
+ 302
163
Compare changes
  • Side-by-side
  • Inline
Files
19
@@ -20,6 +20,9 @@ interface InstructionsInterface extends ActivatorInterface {
*
* @param \Drupal\project_browser\ProjectBrowser\Project $project
* The project to activate.
* @param string|null $source_id
* (optional) The ID of the source plugin that exposed the project, if
* known. Defaults to NULL.
*
* @return string
* One of:
@@ -29,6 +32,6 @@ interface InstructionsInterface extends ActivatorInterface {
* - An absolute URL which this project's "Install" button should link to in
* the UI.
*/
public function getInstructions(Project $project): string;
public function getInstructions(Project $project, ?string $source_id = NULL): string;
}
Loading