Skip to content
Snippets Groups Projects
Commit 53e11fff authored by Stephen Mustgrave's avatar Stephen Mustgrave
Browse files

Cspell fixes

parent ec7be576
No related branches found
No related tags found
No related merge requests found
admnistrators
alredy
Amendor Amendor
analyse analyse
anum anum
...@@ -46,5 +44,6 @@ timeperiod ...@@ -46,5 +44,6 @@ timeperiod
UNIXTIME UNIXTIME
unscored unscored
userto userto
Webform
xaxis xaxis
yaxis yaxis
...@@ -75,7 +75,7 @@ used as ...@@ -75,7 +75,7 @@ used as
bank to add a previously used question. bank to add a previously used question.
3. After adding questions, click the "Take" tab to take the Quiz! 3. After adding questions, click the "Take" tab to take the Quiz!
## Similiar modules ## Similar modules
* [H5P - HTML5 learning objects](https://www.drupal.org/project/h5p) * [H5P - HTML5 learning objects](https://www.drupal.org/project/h5p)
* [Course](https://www.drupal.org/project/course) - put multiple quizzes together * [Course](https://www.drupal.org/project/course) - put multiple quizzes together
......
quiz_multichoice.settings: quiz_multichoice.settings:
type: config_object type: config_object
label: 'Quiz multichoise settings' label: 'Quiz multichoice settings'
mapping: mapping:
scoring: scoring:
type: integer type: integer
......
...@@ -435,7 +435,7 @@ function quiz_quiz_access(EntityInterface $entity, $operation, AccountInterface ...@@ -435,7 +435,7 @@ function quiz_quiz_access(EntityInterface $entity, $operation, AccountInterface
} }
} }
// Check to see if the user is registered, and user alredy passed this quiz. // Check to see if the user is registered, and user already passed this quiz.
if ($entity->show_passed->value && $account->id() && $entity->isPassed($account)) { if ($entity->show_passed->value && $account->id() && $entity->isPassed($account)) {
$hooks['already_passed'] = [ $hooks['already_passed'] = [
'success' => TRUE, 'success' => TRUE,
......
...@@ -110,7 +110,7 @@ class Quiz extends EditorialContentEntityBase implements EntityChangedInterface, ...@@ -110,7 +110,7 @@ class Quiz extends EditorialContentEntityBase implements EntityChangedInterface,
$fields['title'] = BaseFieldDefinition::create('string') $fields['title'] = BaseFieldDefinition::create('string')
->setLabel(t('Title')) ->setLabel(t('Title'))
->setDescription(t('This is only visible to Quiz admnistrators.')) ->setDescription(t('This is only visible to Quiz administrators.'))
->setRequired(TRUE) ->setRequired(TRUE)
->setDisplayConfigurable('form', TRUE) ->setDisplayConfigurable('form', TRUE)
->setRevisionable(TRUE) ->setRevisionable(TRUE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment