public function ThemeGenerator::infoYmlDescription in AT Tool 2.0 1.0.x
Format theme description.
Parameters
$desc:
Return value
string
3 calls to ThemeGenerator::infoYmlDescription()
- ThemeGeneratorTypes::cloneGenerator in at_theme_generator/
src/ Theme/ ThemeGeneratorTypes.php - Generate clone type theme.
- ThemeGeneratorTypes::skinGenerator in at_theme_generator/
src/ Theme/ ThemeGeneratorTypes.php - Generate skin type theme.
- ThemeGeneratorTypes::starterkitGenerator in at_theme_generator/
src/ Theme/ ThemeGeneratorTypes.php - Generate starter kit type theme.
File
- at_theme_generator/
src/ Theme/ ThemeGenerator.php, line 589
Class
- ThemeGenerator
- Generator form.
Namespace
Drupal\at_theme_generator\ThemeCode
public function infoYmlDescription($desc) {
$text = $desc['text'] ? $desc['text'] . ' <br>' : '';
$clone = isset($desc['clone']) ? 'Clone of: ' . $desc['clone'] . ' <br>' : '';
$skin = isset($desc['skin']) ? 'Skin of: ' . $desc['skin'] . ' <br>' : '';
$base = $desc['base'] ? 'Base: ' . $desc['base'] . ' <br>' : '';
$time = $desc['time'] ? 'Generated: ' . $desc['time'] : '';
return $text . $clone . $skin . $base . $time;
}