Skip to content

Instantly share code, notes, and snippets.

View steinmb's full-sized avatar
💭
Pining for the fjords

Stein Magne Bjørklund steinmb

💭
Pining for the fjords
View GitHub Profile
<?php
function dhs_migrate_menu_alter(&$items) {
dpm($items);
}
function dhs_migrate_page_alter(&$page) {
menu_router_build();
}
a927c11 Issue 179 add Event to filters
b958fdc issue 179 added filters and got them working on data export view.
4fdc252 Issue 179 data export view
e83cf44 issue 179 new filters
275410a Issue 178 Correct data export
2c7830f Issue 178 Cleaned up Critical Writing main page display
42be5c9 Revert "Issue 178 Cleaned up Critical Writing main page display"
d2edd40 Issue 178 Cleaned up Critical Writing main page display
1410f0e Issue 124 Uninstall getid3 module
a927c11 Issue 179 add Event to filters
diff --git a/composer.lock b/composer.lock
index af5a5bd..17ce756 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1,7 +1,7 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
@steinmb
steinmb / # php - 2019-07-26_16-57-43.txt
Created July 27, 2019 12:00
php on macOS 10.13.6 - Homebrew build logs
Homebrew build logs for php on macOS 10.13.6
Build date: 2019-07-26 16:57:43
@steinmb
steinmb / CleanUp.php
Last active May 16, 2020 10:10
Helper script used during Drupal 7 to 8/9 migration. Check if there are any broken data to clean before running migrate:import. Delete all terms, files, nodes and so on. Use with care.
<?php
final class CleanUp
{
private $entityType;
private $storage;
public function __construct(string $entityType)
{
$this->entityType = $entityType;
<iframe src='https://cdn.knightlab.com/libs/timeline3/latest/embed/index.html?source=1-mA7dDlsUzhdLfs_TIpnXA4DWU_i61F3PSCcd-osSxA&font=Default&lang=en&initial_zoom=2&height=650' width='100%' height='650' webkitallowfullscreen mozallowfullscreen allowfullscreen frameborder='0'></iframe>