Rename ValidationResult's creation methods

Issue information

From user: phenaproxima

Contribution record

Fork management

Problem/Motivation

ValidationResult's createErrorResult() and createWarningResult() methods don't need the word "result" in them; that's already in the class name. I propose we rename these to createError() and createWarning().

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information