Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit 9337f57

Browse files
author
Mateu Aguiló Bosch
committed
fix: add missing use statement
1 parent 2bd88e8 commit 9337f57

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/development/build-contenta_jsonapi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ echo -e "${FG_C}${BG_C} EXECUTING ${NO_C} $DRUSH site-install --verbose --yes --
6464
# There is a problem installing from CLI. Drush can't locate some required services. Reinstalling a
6565
# second time usually does the trick.
6666
# TODO: We need to fix this.
67-
$DRUSH site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite --site-mail=admin@localhost --account-mail=admin@localhost --site-name='Contenta CMS Demo' --account-name=admin --account-pass=admin > /dev/null 2>&1 || true;
67+
$DRUSH site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite --site-mail=admin@localhost --account-mail=admin@localhost --site-name='Contenta CMS Demo' --account-name=admin --account-pass=admin;
6868
$DRUSH site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite --site-mail=admin@localhost --account-mail=admin@localhost --site-name='Contenta CMS Demo' --account-name=admin --account-pass=admin;
6969

7070
if [ $? -ne 0 ]; then

src/Plugin/Contenta/OptionalModule/ContentaJs.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Drupal\contenta_jsonapi\Plugin\Contenta\OptionalModule;
44

5+
use Drupal\Core\Form\FormStateInterface;
6+
57
/**
68
* Contenta JS.
79
*

0 commit comments

Comments
 (0)