Unverified Commit 943652b0 authored by TravisCarden's avatar TravisCarden

Merge branch 'release/2.0.0'

parents 499f42f5 c8b12ad3
......@@ -2,6 +2,7 @@
language: php
os: linux
dist: bionic
version: ~> 1.0
......@@ -27,7 +28,7 @@ env:
global:
- ORCA_SUT_NAME=drupal/checklistapi
- ORCA_SUT_BRANCH=8.x-1.x
- ORCA_VERSION=dev-master
- ORCA_VERSION=^2
- ORCA_PACKAGES_CONFIG=../checklistapi/tests/packages.yml
jobs:
......@@ -41,12 +42,14 @@ jobs:
- { name: "Isolated test w/ dev package versions", env: ORCA_JOB=ISOLATED_DEV }
# - { name: "Integrated test w/ dev package versions", env: ORCA_JOB=INTEGRATED_DEV }
- { name: "Isolated test w/ dev package versions & next minor dev version of Drupal core", env: ORCA_JOB=CORE_NEXT }
- { name: "D9 readiness test", php: "7.3", env: ORCA_JOB=D9_READINESS}
allow_failures:
- env: ORCA_JOB=ISOLATED_DEV
# - env: ORCA_JOB=INTEGRATED_DEV
- env: ORCA_JOB=CORE_NEXT
before_install:
- nvm use 12.13.1
- composer create-project --no-dev acquia/orca ../orca "$ORCA_VERSION"
- ../orca/bin/travis/before_install.sh
......@@ -63,4 +66,3 @@ after_success: ../orca/bin/travis/after_success.sh
after_failure: ../orca/bin/travis/after_failure.sh
after_script: ../orca/bin/travis/after_script.sh
<?php
/**
* @file
* Describes hooks and plugins provided by the Checklist API module.
*/
use Drupal\Core\Url;
/**
* @file
* Hooks provided by the Checklist API module.
......@@ -117,7 +124,7 @@ function callback_checklistapi_checklist_items($argument) {
'#title' => t('Example item 1'),
'example_link' => [
'#text' => t('Example.com'),
'#url' => \Drupal\Core\Url::fromUri('http://www.example.com/'),
'#url' => Url::fromUri('http://www.example.com/'),
],
],
'example_item_2' => [
......
<?php
// phpcs:ignoreFile
namespace Drupal\Tests\checklistapi\Unit;
use Drupal\Core\Render\Element;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment