You are here

service reading_time in Node read time 8

Class

Drupal\node_read_time\Calculate\ReadingTime
4 string references to reading_time
NodeReadTime::create in src/Plugin/views/field/NodeReadTime.php
Creates an instance of the plugin.
node_read_time_node_view in ./node_read_time.module
Implements hook_ENTITY_TYPE_view().
ReadingTimeConfigForm::getFormId in src/Form/ReadingTimeConfigForm.php
Returns a unique string identifying the form.
ReadingTimeConfigForm::submitForm in src/Form/ReadingTimeConfigForm.php
Form submission handler.

File

./node_read_time.services.yml
node_read_time.services.yml

View source
  1. class: Drupal\node_read_time\Calculate\ReadingTime
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@config.factory'