public function FeedsLdapQueryFetcher::sourceForm in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_feeds/FeedsLdapQueryFetcher.inc \FeedsLdapQueryFetcher::sourceForm()
- 7 ldap_feeds/FeedsLdapQueryFetcher.inc \FeedsLdapQueryFetcher::sourceForm()
Override parent::sourceForm().
File
- ldap_feeds/
FeedsLdapQueryFetcher.inc, line 100 - FeedsLdapQueryFetcher.
Class
- FeedsLdapQueryFetcher
- Fetches data via LDAP Query.
Code
public function sourceForm($source_config) {
$tokens = [
'!edit_link' => l(t('Edit Feed'), 'admin/structure/feeds/' . $this->id),
];
$form_state = [];
$form = $this
->configForm($form_state);
$form['preamble'] = [
'#type' => 'markup',
'#markup' => t('This import is configured at !edit_link.', $tokens),
];
return $form;
}