Revisions in Drupal 8 comes as a part of core. Every time when you edit or create a content in Drupal 8 you will be provided with an option to create a of that content or page. This is helpful for the process of revert back to the older content.
Adding a menu-tab link is quite easy. Here i am going to add a “who’s Online” menu link link to the menu-tab under “admin/content” using views.
Getting a token from a drupal 8 website is easy. You can get it by visiting the following link.
Configuration Management Initiative (CMI) in drupal seperates “content” from "configurations". It uses yml files to store the configuration datas And it provides way for deploying configurations over the sites which includes development, staging and production. Configuration Management Initiative (CMI) comes in drupal 8 as a part of core. In short Configuration Management Initiative (CMI) in Drupal 8 solved a many big issues that a drupal 7 developer experiences. In a fresh Drupal 8 instance navigate to..
Drupal 8 needs Drush version >= 8. Drush 8 has the dependency of Composer. If you don't have composer download and install it using the link https://getcomposer.org/Composer-Setup.exe for windows. Download and install Git. Open your Command Line or GIT’s bash and try the following commands,
Storage in ionic 2 can be used to store data key/value pairs. We can also store JSON Objects. This Storage can work using may storage engines, here it will choose the best based on the platform. If the application runs in native platfrom it will use SQLite where as if it is in browser it use IndexedDB. Follow the steps to use Storage,
A quick way to prevent robots scanning the website. The below command will stop Search Engines from crawling your website. Add this to your robots.txt file.
A quick way to list globally installed NPM modules. The following command will display all the top-level NPM modules.
Permissions control access in Drupal system. We can able to specify the permissions based on User Roles. We can programmatically able to create custom permissions by implementing the hook_permission in Drupal 7. The below is the syntax and example of how to use custom permissions. Once permissions are defined the need to clear cache. So, that permission available on admin/people/permissions page.
The hook_menu() is the menu router for the Drupal system. In this hook we can able to specify the possible URL paths to our Drupal system. This function implementation must return the associative array of URL paths and their respective callbacks. The below is the syntax and usage example of this hook. Once you have implemented hook needs to flush the cache to detect system.