You are here

public function FeedsDrupalUserLdapEntryFetcher::sourceForm in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_feeds/FeedsDrupalUserLdapEntryFetcher.inc \FeedsDrupalUserLdapEntryFetcher::sourceForm()
  2. 7.2 ldap_feeds/FeedsDrupalUserLdapEntryFetcher.inc \FeedsDrupalUserLdapEntryFetcher::sourceForm()

Override parent::sourceForm().

File

ldap_feeds/FeedsDrupalUserLdapEntryFetcher.inc, line 124
FeedsDrupalUserLdapEntryFetcher

Class

FeedsDrupalUserLdapEntryFetcher
Fetches data via LDAP Query.

Code

public function sourceForm($source_config) {
  $tokens = array(
    '!edit_link' => l(t('Edit Feed'), 'admin/structure/feeds/edit/' . $this->id),
  );
  $form_state = array();
  $form = $this
    ->configForm($form_state);
  $form['addendum'] = array(
    '#type' => 'markup',
    '#markup' => t('This import is configured at !edit_link.', $tokens),
  );
  return $form;
}