Roles |
class |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/filter/Roles.php |
Filter handler for user roles. |
Roles |
class |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php |
Field handler to provide a list of roles. |
RolesRid |
class |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php |
Allow role ID(s) as argument. |
Roles.php |
file |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php |
Definition of Drupal\user\Plugin\views\field\Roles. |
Roles.php |
file |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/filter/Roles.php |
Definition of Drupal\user\Plugin\views\filter\Roles. |
user_roles |
function |
drupal/core/modules/user/user.module |
Retrieve an array of roles matching specified conditions. |
Roles::init |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php |
Overrides Drupal\views\Plugin\views\field\FieldPluginBase::init(). |
User::$roles |
property |
drupal/core/modules/user/lib/Drupal/user/Plugin/Core/Entity/User.php |
The user's roles. |
RolesRidTest |
class |
drupal/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php |
Tests the roles argument handler. |
RolesRid.php |
file |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php |
Contains \Drupal\user\Plugin\views\argument\RolesRid. |
Roles::query |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php |
Called to add the field to a query. |
User::getRoles |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/Core/Entity/User.php |
Returns a list of roles. |
Secure::$roles |
property |
drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/Secure.php |
|
Roles::operators |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/filter/Roles.php |
Override empty and not empty operator labels to be clearer for user roles. |
RolesRidTest.php |
file |
drupal/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php |
Contains \Drupal\Tests\user\Views\Argument\RolesRidTest. |
RolesRid::create |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php |
Creates an instance of the plugin. |
Roles::pre_render |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php |
Run before any fields are rendered. |
Roles::render_item |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php |
|
UserSession::$roles |
property |
drupal/core/lib/Drupal/Core/Session/UserSession.php |
List of the roles this user has. |
FilterFormat::$roles |
property |
drupal/core/modules/filter/lib/Drupal/filter/Plugin/Core/Entity/FilterFormat.php |
List of user role IDs to grant access to use this format on initial creation. |
Roles::addSelfTokens |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php |
Add any special tokens this field might use for itself. |
UserSession::getRoles |
function |
drupal/core/lib/Drupal/Core/Session/UserSession.php |
Returns a list of roles. |
RolesRidTest::getInfo |
function |
drupal/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php |
This method exists to support the simpletest UI runner. |
RoleStorageController |
class |
drupal/core/modules/user/lib/Drupal/user/RoleStorageController.php |
Controller class for user roles. |
RolesRid::__construct |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php |
Constructs a \Drupal\user\Plugin\views\argument\RolesRid object. |
RolesRid::title_query |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php |
|
Roles::getValueOptions |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/filter/Roles.php |
Child classes should be used to override this function and set the
'value options', unless 'options callback' is defined as a valid function
or static public method to generate these values. |
UserRolesAssignmentTest |
class |
drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php |
Test role assignment. |
UserInterface::getRoles |
function |
drupal/core/modules/user/lib/Drupal/user/UserInterface.php |
Returns a list of roles. |
RolesRidTest::$entityInfo |
property |
drupal/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php |
Entity info used by the test. |
RoleStorageController.php |
file |
drupal/core/modules/user/lib/Drupal/user/RoleStorageController.php |
Contains \Drupal\user\RoleStorageController. |
Roles::documentSelfTokens |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php |
Document any special tokens this field might use for itself. |
UserBCDecorator::getRoles |
function |
drupal/core/modules/user/lib/Drupal/user/UserBCDecorator.php |
Returns a list of roles. |
filter_get_roles_by_format |
function |
drupal/core/modules/filter/filter.module |
Retrieves a list of roles that are allowed to use a given text format. |
AccountInterface::getRoles |
function |
drupal/core/lib/Drupal/Core/Session/AccountInterface.php |
Returns a list of roles. |
drupal-7.roles.database.php |
file |
drupal/core/modules/system/tests/upgrade/drupal-7.roles.database.php |
|
UserRolesAssignmentTest.php |
file |
drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php |
Definition of Drupal\user\Tests\UserRolesAssignmentTest. |
RolesRidTest::testTitleQuery |
function |
drupal/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php |
Tests the title_query method. |
UserRolesAssignmentTest::setUp |
function |
drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php |
Sets up a Drupal site for running functional and integration tests. |
RoleStorageController::preSave |
function |
drupal/core/modules/user/lib/Drupal/user/RoleStorageController.php |
Acts on an entity before the presave hook is invoked. |
UserRolesAssignmentTest::getInfo |
function |
drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php |
|
RolesRid::$roleStorageController |
property |
drupal/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php |
The role entity storage controller |
RoleStorageController::resetCache |
function |
drupal/core/modules/user/lib/Drupal/user/RoleStorageController.php |
Resets the internal, static entity cache. |
RoleStorageController::postDelete |
function |
drupal/core/modules/user/lib/Drupal/user/RoleStorageController.php |
Acts on deleted entities before the delete hook is invoked. |
RoleStorageController::attachLoad |
function |
drupal/core/modules/user/lib/Drupal/user/RoleStorageController.php |
Attaches data to entities upon loading. |
UserRolesAssignmentTest::$admin_user |
property |
drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php |
|
FilterFormatAccessTest::testFormatRoles |
function |
drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatAccessTest.php |
Tests if text format is available to a role. |
FilterDefaultConfigTest::testUpdateRoles |
function |
drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterDefaultConfigTest.php |
Tests that changes to FilterFormat::$roles do not have an effect. |
UserRolesAssignmentTest::testCreateUserWithRole |
function |
drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php |
Tests that when creating a user the role can be assigned. And that it can
be removed again. |
UserRolesAssignmentTest::testAssignAndRemoveRole |
function |
drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php |
Tests that a user can be assigned a role and that the role can be removed
again. |