You are here

public function FeedsLdapQueryFetcher::sourceForm in Lightweight Directory Access Protocol (LDAP) 8.2

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

Override parent::sourceForm().

File

ldap_feeds/FeedsLdapQueryFetcher.inc, line 96
FeedsLdapQueryFetcher

Class

FeedsLdapQueryFetcher
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['preamble'] = array(
    '#type' => 'markup',
    '#markup' => t('This import is configured at !edit_link.', $tokens),
  );
  return $form;
}