git clone https://github.com/chapter-three/next-drupal
The database is not publicly available in the repo. You can ping @shadcn. I'll send you a copy.
git clone https://github.com/chapter-three/next-drupal
The database is not publicly available in the repo. You can ping @shadcn. I'll send you a copy.
import { merge } from "theme-ui" | |
import base from "@reflexjs/preset-base" | |
export default merge(base, { | |
colors: { | |
text: "#000", | |
background: "#fff", | |
primary: "#2a9d8f", | |
secondary: "#e76f51", | |
}, |
<?php | |
// Place in `custom_module/src/Entity/ListBuilder/PurchasedPlanListBuilder.php` | |
namespace Drupal\custom_module\Entity\ListBuilder; | |
use Drupal\apigee_m10n\Entity\ListBuilder\PurchasedPlanListBuilder as ApigeePurchasedPlanListBuilder; | |
class PurchasedPlanListBuilder extends ApigeePurchasedPlanListBuilder { |
This recipe adds podcast support to your Gatsby site using @arshad/gatsby-theme-podcast-core.
Install NPM packages
<NPMPackage name="@arshad/gatsby-theme-podcast-core"
import React from "react" | |
import { Link } from "gatsby" | |
import Image from "gatsby-image" | |
import Layout from "../../../components/layout" | |
import SEO from "../../../components/seo" | |
export const formatDuration = seconds => { | |
const minutes = Math.floor(seconds / 60) | |
const hours = Math.floor(seconds / (60 * 60)) |
@import
url from https://fonts.google.com./scss/base/_variables.scss
and add your @import
url under // Typography
.$font-family
variables.Example:
// Typography
composer global require pantheon-systems/terminus
.terminus auth:login --machine-token=MACHINE-TOKEN
terminus site:create name-of-site "Name of Site" 35b0e365-a191-4c70-adbe-9d02d01343f3.
35b0e365-a191-4c70-adbe-9d02d01343f3
is the uuid of the Drops 8 Composer upstream. You can see a list of upstream by running terminus upstream:list
<?php | |
namespace Drupal\MODULE_NAME\Plugin\views\style; | |
use Drupal\rest\Plugin\views\style\Serializer; | |
/** | |
* The style plugin for serialized output formats with pager. | |
* | |
* @ingroup views_style_plugins |