Quantcast
Channel: programmatically
Browsing all 2 articles
Browse latest View live

Create your own custom Drupal block programmatically

Super duper simple example on how to programmatically create your own custom Drupal blocks and display any content.Code snippet below needs to be in a custom module./** * Implements hook_block_info()....

View Article



Reindex Drupal's Search API module indexes programmatically

I had recently found the need to manually reindex the Search API indexes programmatically after performing some other operation. The code snippet below will do just that for you :)Tags: drupaldrupal...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images