return $regions;
}
+
+ /**
+ * @param DrupalStyle $io
+ *
+ * @return mixed
+ */
+ public function libraryQuestion(DrupalStyle $io)
+ {
+ $validators = $this->validator;
+ $libraries = [];
+ while (true) {
+ $libraryName = $io->ask(
+ $this->trans('commands.generate.theme.questions.library-name')
+ );
+
+ $libraryVersion = $io->ask(
+ $this->trans('commands.generate.theme.questions.library-version'),
+ '1.0'
+ );
+
+ array_push(
+ $libraries,
+ [
+ 'library_name' => $libraryName,
+ 'library_version'=> $libraryVersion,
+ ]
+ );
+
+ if (!$io->confirm(
+ $this->trans('commands.generate.theme.questions.library-add'),
+ true
+ )
+ ) {
+ break;
+ }
+ }
+
+ return $libraries;
+ }
}