Skip to content

Instantly share code, notes, and snippets.

@twfahey1
Last active March 30, 2021 16:41
Show Gist options
  • Select an option

  • Save twfahey1/a2f46a2ed8a7b2186b96f58e525eac13 to your computer and use it in GitHub Desktop.

Select an option

Save twfahey1/a2f46a2ed8a7b2186b96f58e525eac13 to your computer and use it in GitHub Desktop.
Get JSON:API Extra path prefix config string via php-script terminus for Pantheon site
cat << 'EOF' | terminus drush mysite.dev -- php-script -
$config = \Drupal::config('jsonapi_extras.settings')->get('path_prefix');
echo $config;
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment