Paragraphs Editor
InvalidCommandContext.php
Go to the documentation of this file.
1 <?php
2 
4 
5 /**
6  * An object for representing invalid command contexts.
7  *
8  * @see Drupal\paragraphs_editor\EditorCommand\CommandContextInterface
9  */
11 
12  /**
13  * Creates a command context without any valid values.
14  */
15  public function __construct() {
16  }
17 
18  /**
19  * {@inheritdoc}
20  */
21  public function isValid() {
22  return FALSE;
23  }
24 
25 }