Paragraphs Editor
Main Page
Namespaces
Classes
Files
File List
InvalidCommandContext.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Drupal\paragraphs_editor\EditorCommand
;
4
5
/**
6
* An object for representing invalid command contexts.
7
*
8
* @see Drupal\paragraphs_editor\EditorCommand\CommandContextInterface
9
*/
10
class
InvalidCommandContext
extends
CommandContext
{
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
}
Drupal\paragraphs_editor\EditorCommand
Definition:
CommandContext.php:3
Drupal\paragraphs_editor\EditorCommand\InvalidCommandContext\isValid
isValid()
Definition:
InvalidCommandContext.php:21
Drupal\paragraphs_editor\EditorCommand\CommandContext
Definition:
CommandContext.php:15
Drupal\paragraphs_editor\EditorCommand\InvalidCommandContext
Definition:
InvalidCommandContext.php:10
Drupal\paragraphs_editor\EditorCommand\InvalidCommandContext\__construct
__construct()
Definition:
InvalidCommandContext.php:15
src
EditorCommand
InvalidCommandContext.php
Generated by
1.8.11