You are here

function ds_machine_name in Display Suite 6.3

Create a machine name from a set of parts

Parameters

$parts: an array of name parts to use

Return value

string a machine name, or FALSE if not enough information was provided

1 call to ds_machine_name()
ds_update_3000 in ./ds.install
Implementation of hook_update_N

File

./ds.module, line 864

Code

function ds_machine_name($parts = array()) {
  $name = implode('_', $parts);
  return $name;
}