public BlockInterface::getVisibilityCondition($instance_id)
Gets a visibility condition plugin instance.
Parameters
string $instance_id: The condition plugin instance ID.
Return value
\Drupal\Core\Condition\ConditionInterface A condition plugin.
File
- core/modules/block/src/BlockInterface.php, line 79
Class
- BlockInterface
- Provides an interface defining a block entity.
Namespace
Drupal\block
Code
public function getVisibilityCondition($instance_id);
Please login to continue.