Some Tools

Component type

module

Categories

Maintenance status

Development status

Downloads

1502

Component created

Component changed

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');
}

DIC - Dependency Injection Container

Component type

module

Maintenance status

Development status

Component created

Component changed

Using this Drupal module, you can use the Symfony Dependency Injection Container in your Drupal 7 modules. This will help you writing custom Drupal modules in a more object-oriented, future-proof and maintainable way.

Composer is required in your project and this module expects a composer.json file in the root of your Drupal installation.

YAML Sandbox

Component type

module

Maintenance status

Development status

Downloads

724

Component created

Component changed

The YAML Sandbox module provides a textarea at /yaml_sandbox that accepts YAML as input and then parses and displays the resulting PHP data. It uses the DrupalComponentSerializationYaml class do to the parsing and thus provides an accurate representation how your YAML data will be represented in Drupal.

Machine Learning Libraries

Component type

module

Maintenance status

Development status

Downloads

998

Component created

Component changed

Supported by the Drupal Computing module, this module helps you manage machine learning libraries written in Java and Python so that you can use them to process Drupal data in a distributed computing environment. The module does two things:

  1. Check and report what Java and Python libraries are installed on your machine.
  2. Install Java/Python libraries using "drush make". (to be implemented)

These libraries are supported.

Migrate CSV to SQL

Component type

module

Maintenance status

Development status

Downloads

1302

Component created

Component changed

Introduction

This module provides convenience functionality for migrating data from CSV files, via SQL tables, using the Migrate module.

Motivation

Have you ever had a problem that certain rows in the CSV were empty, or didn't
need to be imported because of bogus data / empty fields?

Entities data

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

The purpose of this project is to provide to drupal programmers an easy way to access an save datas located in drupal entities.

Done

  • Queries to 1 Single node entity.
  • 1-1 relations.
  • 1-n relations.

Usage

Include this code in your module

  //example code
  $ci = "12345";
  $partner = EntitiesData::getDatas('node', 'persona', "nombres apellido_paterno", "ci=$ci");
  //this return a array of arrays

To do

Queries for get: