Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Drupal developer tools and short cuts.
// check if a field has a value and do stuff with it
if (stools_field_has_value($node, 'field_location')) {
$value = stools_field_value($node, 'field_location');
}
Supporting organizations:
Created
Project information
- Module categories: Developer Tools
- 27 sites report using this module
- Created by rballou on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.1
released 3 March 2016
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 28 Jan 2019 at 03:53 UTC