You are here

function fe_paths_config_load in File Entity Paths 7.2

Load File Entity Paths config entity by own id.

Parameters

$id: The id of the File Entity Paths config

bool $reset: A boolean indicating that the internal cache should be reset.

Return value

mixed The File Entity Paths config if loaded successful else FALSE.

File

./fe_paths.module, line 528
Contains functions for the File Entity Paths module.

Code

function fe_paths_config_load($id, $reset = FALSE) {
  $object = fe_paths_config_load_multiple(array(
    $id,
  ), array(), $reset);
  return isset($object[$id]) ? $object[$id] : FALSE;
}