Révision ed9a13f1
Ajouté par Assos Assos il y a presque 4 ans
drupal7/sites/all/modules/feeds/plugins/FeedsUserProcessor.inc | ||
---|---|---|
99 | 99 |
/** |
100 | 100 |
* Validates a user account. |
101 | 101 |
*/ |
102 |
protected function entityValidate($account) { |
|
102 |
protected function entityValidate($account, FeedsSource $source = NULL) {
|
|
103 | 103 |
parent::entityValidate($account); |
104 | 104 |
|
105 | 105 |
if (empty($account->name) || empty($account->mail) || !valid_email_address($account->mail)) { |
... | ... | |
544 | 544 |
'#title' => t('Allowed roles'), |
545 | 545 |
'#options' => $allowed_roles_options, |
546 | 546 |
'#default_value' => $mapping['allowed_roles'], |
547 |
'#description' => t('Select the roles to accept from the feed.<br />Any other roles will be ignored.') |
|
547 |
'#description' => t('Select the roles to accept from the feed.<br />Any other roles will be ignored.'),
|
|
548 | 548 |
), |
549 | 549 |
'autocreate' => array( |
550 | 550 |
'#type' => 'checkbox', |
... | ... | |
642 | 642 |
* Used by ::passSummaryCallback(). |
643 | 643 |
* |
644 | 644 |
* @return array |
645 |
* An array of password encryption option titles.
|
|
645 |
* An array of password encryption option titles. |
|
646 | 646 |
* |
647 | 647 |
* @see passSummaryCallback() |
648 | 648 |
*/ |
... | ... | |
674 | 674 |
* Used by ::passFormCallback(). |
675 | 675 |
* |
676 | 676 |
* @return array |
677 |
* An array of password encryption option titles.
|
|
677 |
* An array of password encryption option titles. |
|
678 | 678 |
* |
679 | 679 |
* @see passFormCallback() |
680 | 680 |
*/ |
... | ... | |
719 | 719 |
break; |
720 | 720 |
} |
721 | 721 |
} |
722 |
|
|
722 | 723 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules