Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298052

Convert user properties to methods

$
0
0

Part of #2017207: [meta] Complete conversion of users to Entity Field API.

This converts the following property to methods:
- status to isBlocked(), isActive(), block() and activate()
- mail to getEmail()
- login to getLastLoginTime()
- created with getCreatedTime()
- name with getUsername()
- roles with getRoles(), addRole(), removeRole(), ..
- signature and signature_format with getSignature() and getSignatureFormat()
- pass with getPassword()
- timezone with getTimezone()
- access/timestamp (session stuff) with getLastAccessedTime()
- langcode and preferred langcode with language() and getPreferredLangcode()


Viewing all articles
Browse latest Browse all 298052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>