FeatureInterface.php in Configuration selector 8.2
Same filename and directory in other branches
Namespace
Drupal\config_selector\EntityFile
src/Entity/FeatureInterface.phpView source
<?php
namespace Drupal\config_selector\Entity;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface defining a Configuration Selector feature entity.
*/
interface FeatureInterface extends ConfigEntityInterface {
/**
* Gets the feature's description.
*
* @return string
* The feature's description.
*/
public function getDescription();
/**
* Gets the all feature's configuration entities.
*
* @return array
* The arrays of configuration entity objects keyed by their entity type ID.
*/
public function getConfiguration();
/**
* Gets the feature's configuration entities of the specified type.
*
* @param string $entity_type_id
* The entity type of the returned configuration entities.
*
* @return \Drupal\Core\Config\Entity\ConfigEntityInterface[]
* The feature's configuration entities of the specified type. Keyed by
* their ID.
*/
public function getConfigurationByType($entity_type_id);
}
Interfaces
Name | Description |
---|---|
FeatureInterface | Provides an interface defining a Configuration Selector feature entity. |