annotate vendor/chi-teck/drupal-code-generator/src/bootstrap.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
rev   line source
Chris@0 1 <?php
Chris@0 2
Chris@0 3 /**
Chris@0 4 * @file
Chris@0 5 * Globals.
Chris@0 6 */
Chris@0 7
Chris@0 8 use DrupalCodeGenerator\ApplicationFactory;
Chris@0 9
Chris@0 10 /**
Chris@0 11 * DCG root.
Chris@0 12 *
Chris@0 13 * @deprecated
Chris@0 14 * Use DrupalCodeGenerator\ApplicationFactory::getRoot
Chris@0 15 */
Chris@0 16 define('DCG_ROOT', dirname(__DIR__));
Chris@0 17
Chris@0 18 /**
Chris@0 19 * Creates an application.
Chris@0 20 *
Chris@0 21 * @return \Symfony\Component\Console\Application
Chris@0 22 * The initialized console application.
Chris@0 23 *
Chris@0 24 * @deprecated
Chris@0 25 * Use DrupalCodeGenerator\ApplicationFactory::create
Chris@0 26 *
Chris@0 27 * @codeCoverageIgnore
Chris@0 28 */
Chris@0 29 function dcg_create_application() {
Chris@0 30 return ApplicationFactory::create();
Chris@0 31 }