'administer entity_test content',
'administer entity_test form display',
'administer content types',
'bypass node access',
'administer node fields',
'administer node form display',
'administer node display',
]);
$this->
drupalLogin($web_user);
// Create a field with settings to validate.
$this->
createField();
$this->dateFormatter =
$this->container->
get('date.formatter'
);
} /**
* Creates a date test field.
*/
protected function createField() { $field_name =
mb_strtolower($this->
randomMachineName());
$field_label = Unicode::
ucfirst(mb_strtolower($this->
randomMachineName()));
$type =
$this->
getTestFieldType();