-
-
Notifications
You must be signed in to change notification settings - Fork 28
Moving media generation to base class instead of separate class #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -67,11 +67,7 @@ public function run() | |||||
| $files = $this->copyTarget($this->source, $this->target); | ||||||
|
|
||||||
| // Build media (relative path) | ||||||
| $media = $this->buildMedia("media/" . $this->templateName, $this->templateName); | ||||||
| $media->setVerbosityThreshold(VerbosityThresholdInterface::VERBOSITY_VERBOSE) | ||||||
| ->run(); | ||||||
|
|
||||||
| $this->addFiles('media', $media->getResultFiles()); | ||||||
| $this->buildMediaFiles('tpl_' . $this->templateName); | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
templates don't use the tpl_ prefix
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm just handing in the name of the extension and the prefix lets the system discover which type it is. In this case, the tpl_ is necessary. |
||||||
|
|
||||||
| // Build language files for the component | ||||||
| if (is_dir($this->getSourceFolder() . '/language')) { | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.