Skip to content

Instantly share code, notes, and snippets.

@drupalmk
drupalmk / example.html
Last active Mar 22, 2020
HTML + CSS. Content overlapping on header with pinned nav
View example.html
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<title>Content overlapping on header with pinned nav</title>
<style>
* {
margin: 0;
padding: 0;
@drupalmk
drupalmk / DefaultController.php
Created Sep 27, 2018 — forked from dmouse/DefaultController.php
Return a Response Object in Drupal 8
View DefaultController.php
<?php
namespace Drupal\response\Controller;
use Drupal\Core\Controller\ControllerBase;
class DefaultController extends ControllerBase
{
/**
* hello