comparison vendor/chi-teck/drupal-code-generator/src/bootstrap.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
1 <?php
2
3 /**
4 * @file
5 * Globals.
6 */
7
8 use DrupalCodeGenerator\ApplicationFactory;
9
10 /**
11 * DCG root.
12 *
13 * @deprecated
14 * Use DrupalCodeGenerator\ApplicationFactory::getRoot
15 */
16 define('DCG_ROOT', dirname(__DIR__));
17
18 /**
19 * Creates an application.
20 *
21 * @return \Symfony\Component\Console\Application
22 * The initialized console application.
23 *
24 * @deprecated
25 * Use DrupalCodeGenerator\ApplicationFactory::create
26 *
27 * @codeCoverageIgnore
28 */
29 function dcg_create_application() {
30 return ApplicationFactory::create();
31 }