Projet

Général

Profil

Révision 8e7483ab

Ajouté par Assos Assos il y a plus de 4 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/link/link.devel_generate.inc
21 21
 * Callback for hook_devel_generate().
22 22
 */
23 23
function _link_devel_generate($object, $field, $instance, $bundle) {
24
  $url = 'http://example.com/' . devel_generate_word(mt_rand(6, 12));
24 25
  $link = array(
25
    'url' => url('<front>', array('absolute' => TRUE)),
26
    'url' => url($url, array('absolute' => TRUE)),
26 27
    'attributes' => _link_default_attributes(),
27 28
  );
28 29
  if ($instance['settings']['title'] != 'none') {

Formats disponibles : Unified diff