Skip to content

Instantly share code, notes, and snippets.

@shadcn
shadcn / PurchasedPlanListBuilder.php
Created May 12, 2020 18:25
How to override the PurchasedPlanListBuilder for Apigee M10n
<?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 {
@shadcn
shadcn / custom-theme.js
Created October 29, 2020 09:30
Custom theme for Reflex
import { merge } from "theme-ui"
import base from "@reflexjs/preset-base"
export default merge(base, {
colors: {
text: "#000",
background: "#fff",
primary: "#2a9d8f",
secondary: "#e76f51",
},
@shadcn
shadcn / README.md
Created June 8, 2022 06:29
next-drupal: how to run the marketing example.

Get the code

git clone https://github.com/chapter-three/next-drupal

Get the database

The database is not publicly available in the repo. You can ping @shadcn. I'll send you a copy.