If you need to check for a specific role such as 'administrator' in Drupal 8, the process is changed from past versions. The following is an example of how you'd check for an administrator role when rendering the user edit form. You might do this if you were unsetting form variables based on role:
It's almost here, the first DrupalCon in Asia. As front enders, we code and build themes. We closely work with project managers, content strategists, marketers alike. This year, at DrupalCon Asia, we're looking forward to a track that inspires, challenges, and excites us.
In this article #6 of Drupal Commerce tutorial series, you will learn how to configure your site's checkout process.
Do you know what (Drupal) Technical Debt is? Of course you do!
Technical debt occurs when you take a shortcut, thinking "this will do for now. I'll sort it out properly later." And then you keep putting off "later", and probably forget about the issue ... until it comes back to bite you in the ass.
It's all those tiny things like a misspelled variable, whose misspelling has to be replicated evermore, or making a configuration change on a live site without capturing it in code, so that the live site is now different to the development one.