<?php // $file = /home/bluedoor/www/dev/wp-content/plugins/yooessentials/modules/condition-wordpress/rules/User/config/user.json

return [
  'name' => 'yooessentials_access_user', 
  'title' => 'User', 
  'group' => 'site', 
  'collection' => 'User', 
  'description' => 'Validates against the current user.', 
  'icon' => $filter->apply('url', '~yooessentials_url/modules/condition-wordpress/rules/User/assets/user.svg', $file), 
  'fields' => [
    'users' => [
      'label' => 'Selection', 
      'source' => true, 
      'type' => 'textarea', 
      'attrs' => [
        'rows' => 4, 
        'placeholder' => '346
username'
      ], 
      'description' => 'The list of User id or usernames that the current user must match. Separate the entries with a comma and/or new line.'
    ]
  ]
];
