---
title: "Philip Birk-Jensen (@BirkAndMe) | Hashnode"
description: "PHP &amp; JavaScript developer, working in Drupal."
url: "https://hashnode.com/@BirkAndMe"
---

@BirkAndMe

# Philip Birk-Jensen

@BirkAndMe · Denmark · Joined May 2022

### [Consistency is key](https://blog.birk-jensen.dk/consistency-is-key?utm_source=hashnode&utm_medium=feed)

A prelude to code conventions

3 min read · [blog.birk-jensen.dk](https://blog.birk-jensen.dk/consistency-is-key?utm_source=hashnode&utm_medium=feed)

[May 15](https://hashnode.com/posts/consistency-is-key/6a06e3e20111c739e49f38c2)

### [Drupal: Get the current entity](https://blog.birk-jensen.dk/drupal-get-the-current-entity?utm_source=hashnode&utm_medium=feed)

First things first, it’s not always possible to get the current entity, some routes will have more than 1 entity, some wont have any, drush wont give a route. But most of the time, what you want when talking about the current entity is the entity bei...

5 min read · [blog.birk-jensen.dk](https://blog.birk-jensen.dk/drupal-get-the-current-entity?utm_source=hashnode&utm_medium=feed)

[Aug 11, 2025](https://hashnode.com/posts/drupal-get-the-current-entity/6899e4114a96ccf7f34968aa)

### [Drupal: Paging an SQL query](https://blog.birk-jensen.dk/drupal-paging-an-sql-query?utm_source=hashnode&utm_medium=feed)

Every time I need to make a pager ind Drupal I need to ask AI or / and do some searching to figure out.I don’t know why I can’t remember how, I just can’t, so this is a boilerplate for me (and anyone else who find it useful) for making paged SQL quer...

5 min read · [blog.birk-jensen.dk](https://blog.birk-jensen.dk/drupal-paging-an-sql-query?utm_source=hashnode&utm_medium=feed)

[Jul 2, 2025](https://hashnode.com/posts/drupal-paging-an-sql-query/6865199fc7281d5a6c73efa7)

### [Hashnode tag filtered RSS](https://blog.birk-jensen.dk/hashnode-tag-filtered-rss?utm_source=hashnode&utm_medium=feed)

If you just want the code, here it is: https://github.com/BirkAndMe/hashnoderss.It should be straight forward, check the index.php file to get the gist of things. Intro A while back Hashnode released a new version of their public API, and one of the ...

2 min read · [blog.birk-jensen.dk](https://blog.birk-jensen.dk/hashnode-tag-filtered-rss?utm_source=hashnode&utm_medium=feed)

[Dec 9, 2024](https://hashnode.com/posts/hashnode-tag-filtered-rss/6757037df49f63d353a8b131)

### [Documenting a callback function in JSDoc](https://blog.birk-jensen.dk/documenting-a-callback-function-in-jsdoc?utm_source=hashnode&utm_medium=feed)

A callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action. -- MDN: Callback function Callbacks are used all over in JavaScript, a good ex...

7 min read · [blog.birk-jensen.dk](https://blog.birk-jensen.dk/documenting-a-callback-function-in-jsdoc?utm_source=hashnode&utm_medium=feed)

[Jan 12, 2024](https://hashnode.com/posts/documenting-a-callback-function-in-jsdoc/65a14320f5c0c79c0cd3ba8f)
