This accepts views arguments as well:
{{ drupal_view('who_s_new', 'block_1') }}
{{ drupal_view('who_s_new', 'block_1' 'contextarg1', 'contextarg2', '...') }}
import * as React from "react" | |
import { Override, Data, AnimationControls, useAnimation } from "framer" | |
import { useAnimationSequence } from "./useAnimationSequence" | |
import { animationSequence } from "./animationSequence" | |
// Learn more: https://framer.com/docs/overrides/ | |
let heart1: AnimationControls | |
let heart2: AnimationControls | |
let heart3: AnimationControls |
status url | |
301 https://www.dramonline.org/identifier/15053 | |
301 https://www.dramonline.org/identifier/15389 | |
301 https://www.dramonline.org/identifier/15547 | |
301 https://www.dramonline.org/identifier/15884 | |
301 https://www.dramonline.org/identifier/16859 | |
301 https://www.dramonline.org/identifier/17243 | |
301 https://www.dramonline.org/identifier/17345 | |
301 https://www.dramonline.org/identifier/17348 | |
301 https://www.dramonline.org/identifier/17349 |
-- OBLIQUE STRATEGIES | |
-- Brian Eno & Peter Schmidt | |
-- | |
-- KEY 3 / Random strategy | |
-- KEY 2 / Random cutoff value | |
-- ENC 3 / Linear strategy scroll | |
-- ENC 1,2 / Clear screen | |
engine.name = 'PolyPerc' |
export const pageQuery = graphql` | |
query IndexQuery { | |
site { | |
siteMetadata { | |
title | |
author | |
} | |
} | |
allMarkdownRemark(sort: { order: DESC, fields: [frontmatter___date] }) { | |
edges { |
// Forked from https://codepen.io/gapcode/pen/vEJNZN | |
// Get IE or Edge browser version | |
var version = detectIE(); | |
if (version === false) { | |
document.getElementById('result').innerHTML = '<s>IE/Edge</s>'; | |
} else if (version >= 12) { | |
document.getElementById('result').innerHTML = 'Edge ' + version; | |
} else { |
<?php | |
// modules/custom/my_custom_module/src/Plugin/migrate/source/FileEntity.php | |
namespace Drupal\my_custom_module\Plugin\migrate\source; | |
use Drupal\Core\Database\Query\Condition; | |
use Drupal\migrate\Row; | |
use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity; | |
/** | |
* Drupal 7 file_entity source from database. |
<?php | |
class Example extends SourcePluginBase { | |
public function prepareRow(Row $row) { | |
parent::prepareRow($row); | |
// I do some data manipulation to end up with an array that looks like this, | |
// which I want to import into multi-value link field. | |
$links = [ |
$ git remote rm origin | |
$ git remote add origin git@github.com:aplikacjainfo/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
Please note I created that sheet as a personal side note/draft and not everything is fully tested. There could be errors or better things to do. So if you spot something wrong or something that can be improved, feel free to comment below and I will do the changes.
Image path: {{ file_url(content.field_name['#items'].entity.uri.value) }}